Topic: MDBDatePicker - how to get the ID or Name of picker
johndoe pro asked 4 years ago
Is there anyway to get the ID or NAME of the date picker component or pass it along with getValue.
I need a single handler that can be used for all the date pickers like how we handle regular text inputs with onChange.
If i'm generating dozens of rows from a json object, where each row has a date picker. I can't distinguish which date picker to set the value. Amount of rows can vary from 1 to X.
Thank you.
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: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.25.2
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
did you try to use prop
id
?