Topic: mdb-auto-completer how to disable it in a reactive form ?
metalor-it pro asked 4 years ago
Expected behavior Disable all fields in the reactive for using myform.disable(); And enable all field switching to an Edit Mode myform.enable()
Actual behavior all the form is disable but the mdb-auto-completer is not ! I tried in many ways, but it's not working correctly. Your documentation may work for Forms (maybe) but not Reactiveforms I tried to add attribute in the ReactiveForm (bad practice) it still not working correctly = always stays disabled
Resources (screenshots, code snippets etc.) {{option.label}}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 10.0.1
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 4 years ago
The component currently doesn't have support for disabling with Angular forms, you would need to use the
[disabled]
input. We will take a closer look at this problem.