Topic: Random simple inputs get values of multiselect input when I click on previous page browser button
Maurício Futer free asked 2 years ago
When I click on previous page browser button (the previous page and the current page are the same page), we expect normal input rendering.
Random simple inputs get values of multiselect input.
Resources (screenshots, code snippets etc.)
before I click the previous page browser button:
after I click the previous page browser button:
Make sure that all of your inputs have a unique ID and select them using it. If they have the same ID or you are choosing them by class (which returns the first item that matches) - every item gets the value of the first one.
It'll be very helpful if you could make a snippet with your code using our online editor (you can find it here: https://mdbootstrap.com/snippets/) :)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.1
- Device: DESKTOP
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No