Topic: Mdb select with [(ngModel)]="" [ngModelOptions]="{standalone: true}

Yael Shrem premium asked 5 years ago


I need to use ngModel in mdb-select in form. in regular select i resolve the problem by define 'standalone' option for example: [(ngModel)]="firstName" [ngModelOptions]="{standalone: true}

But with mdb-select it's doesn't work. and it's thrown an error: "Value must be string or an array"

how can i resolve it?


Bartosz Termena staff commented 5 years ago

Hi!

Could you show me your code? And to be sure - which version of MDB are you using?

Best Regards, Bartosz.



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: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 7.2.0
  • Device: browther
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No