Topic: Dynamic selects with reactive forms don't retain value
josh.novak pro asked 6 years ago
Arkadiusz Idzikowski staff answered 6 years ago
josh.novak pro commented 6 years ago
Yeah the Issue is if I set the value using patchValue and then add options to the select it does not show the correct value. The temp fix was to patch the value into the form again manually. I ended up switch all the selects to use ng-select since that select works properly and adds tagging etc.Arkadiusz Idzikowski staff commented 6 years ago
This problem will be fixed in next release.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No