Topic: mdb-select valueChanges doesn't fire if value is 0

itay pro asked 6 years ago


mdb-select valueChanges doesn't fire if value is 0 I emailed demo app to Damian

tommyw priority commented 6 years ago

Seems to be the same for '' which I use for "All" option when filtering.

tommyw priority answered 6 years ago


I use numeric values to bind to enum on the backend - seems to work fine. But '' does not work to bind on, never fires.

Arkadiusz Idzikowski staff commented 6 years ago

Dear tommyw, If you noticed any problems in our select component please give us more details on this subject. Best, Arek

Arkadiusz Idzikowski staff answered 6 years ago


Dear mdb2, The 'value' property must be a string, not a number. You should also add BrowserAnimationsModule to your app.module file so that the select animation works correctly. Best, Arek

itay pro commented 6 years ago

Oopsi. Thanks


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags