Topic: i want chip list in MDBChipsInput and change the text in MDBSelectInput
how to get chip list? I want to get all chip text when "MDBChipsInput" is changed and I want to change the "Choose your option" text without using a "selected" in MDBSelect multiple
Jakub Mandra staff premium answered 6 years ago
Hi,
Can you specify the question more? I'm not sure what do you need to achieve. MDBChipsInput and MDBSelect are separated components with their own inner state. You can use 'alternative' Select component with options stored in your Parent component's state, and injected by property 'options'.
https://mdbootstrap.com/docs/react/forms/select/#with-object
Every change should apply to the select value if you will use it as the controlled component.
Best,
Jakub
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.11.0
- Device: Desktop
- Browser: Crome
- OS: Window
- Provided sample code: No
- Provided link: No