Topic: Add new option to select list

wizzyno pro asked 4 years ago


From your documentation adding an editable="true" attribute to the select, can easily extend the options list. I've done that, but it does not work. From your site, it works, but from the snippet site, it does not work.

I'll need your assistance to get it working on my site, thanks.

The snippet url: Add new option to select

Sample Code:

<select class="mdb-select md-form" editable="true" searchable="Search and add here...">
 <option value="" disabled selected>Choose your option</option>
 <option value="1">Option 1</option>
 <option value="2">Option 2</option>
 <option value="3">Option 3</option>
</select>
<label class="mdb-main-label">Example label</label>

Mikołaj Smoleński staff answered 4 years ago


It's a brand new functionality available only in the latest 4.8.7 version of MDB. Please update your project with the latest MDB version. Our snippets also will be updated soon.

Best regards



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.4
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes