Topic: mdb-select with angular

Whltepanda pro asked 5 years ago

Dear Sir,

I buy pro license

Then I test with angluar ng-option to add option value but it cannot display option value list after click the select box.

The  below code is the html that I copy from chrome inscpection.

<div class="select-wrapper mdb-select ng-pristine ng-untouched ng-valid ng-empty"><span class="caret">▼</span><input type="text" class="select-dropdown" readonly="true" data-activates="select-options-e58ec23f-7fcf-4d7a-952d-e604656c83c6" value="Choose your option"><ul id="select-options-e58ec23f-7fcf-4d7a-952d-e604656c83c6" class="dropdown-content select-dropdown" style="width: 382px; position: absolute; top: 0px; left: 0px; opacity: 1; display: none;"><li class="disabled"><span class="filtrable">Choose your option</span></li></ul><select ng-model="selected" class="mdb-select ng-pristine ng-untouched ng-valid ng-empty initialized" name="select_user_role" id="select_user_role" ng-options="key as for key in user_role track by"><option value="" disabled="" selected="selected" class="">Choose your option</option><option label="Admin" value="2">Admin</option><option label="Officer" value="3">Officer</option><option label="User" value="4">User</option></select></div>

Could you please suggest me what is wrong.


Sebastian Kaczmarek staff commented 5 years ago

Which version of Angular do you use?

Sebastian Kaczmarek staff commented 5 years ago

Which version of Angular do you use?

Whltepanda pro commented 5 years ago

verision 1.5

Sebastian Kaczmarek staff commented 5 years ago

Unfortunately, we do not support AngularJS (version 1.x). The recommended versions are Angular 2 or Angular 4

Rodrigo Vassia free commented 3 years ago

Could you solve it?

Bartłomiej Malanowski staff commented 3 years ago

@Rodrigo Vassia, we still don't support Angular JS

Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No