Topic: mdb-select ng-model error

Ramirez Ramos priority asked 5 years ago


I recently updated to last version 4.8.2 Im trying to use ng-model on the mdb-select but i get an unexpected. When I use ng-model it doesnt appear selected with the ng-model value but when I display the selector, it appears selected in the list.

I have to update de the code? Some new changes like "destroy" command?

Thx

"My code"

<-select id="center_select" name="id_facultad" class="mdb-select" searchable="Busca aquí.." ng-model="mc.$c.selectedCompetencia.FACULTAD">

                    <-option value="" disabled selected>Selecciona una facultad<-/option>
                    <-option ng-repeat="facultades in mc.$c.competenciasList.facultades" name="id_service" value="{{facultades.COD_FACULTAD}}">{{facultades.FACULTAD}}<-/option-> <-/select>

Bartłomiej Malanowski staff commented 5 years ago

As I can see, you're using AngularJS which isn't officially supported by MDB



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Chrome
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No