- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_one',
placeholder: 'Выберите авто',
lable: 'EXAMPLE',
@@ -89,7 +89,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_one',
placeholder: 'Выберите авто',
nativeSelectMode: true,
@@ -133,7 +133,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_listDisplayMode',
placeholder: 'Выберите авто',
listDisplayMode: true,
@@ -171,7 +171,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_three',
placeholder: 'URL',
url: 'https://jsonplaceholder.typicode.com/users',
@@ -201,7 +201,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_categories',
placeholder: 'Выберите регион',
searchMode: true,
@@ -267,7 +267,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_usedBtn',
placeholder: 'Выберите авто',
searchMode: true,
@@ -323,7 +323,7 @@
- const dropdown = new DropDown({
+ const dropdown = new CGSelect({
selector: '.cg-dropdown_checkboxDisable',
placeholder: 'Выберите авто',
searchMode: true,
@@ -356,5 +356,4 @@