Topic: mdb-select
Aik_Boba free asked 5 years ago
Guys! Are you kidding?) Why I can't set name attribute for sending data to server? I saw text input, but... value of this input is Text, not Value (I understand you use this input to show current choice, text). But your select should be able send data (value attribute) to the server by name attribute. I don't want create hidden input because I think you component should support this functionality :)
Mikołaj Smoleński staff answered 5 years ago
Please share your code with us. In our documentation you can find all options of getting value from select. The most recommended in Vue app is using v-model directive, which is fully supported.
https://mdbootstrap.com/docs/vue/forms/select/
Best regards
Aik_Boba free commented 5 years ago
I don't want get value, I want to SET name attribute. When form is submitted, data of each input is related to name attribute. So I can send get request to the server where I can read value through $_GET[attribute_name] (in PHP).
Mikołaj Smoleński staff commented 5 years ago
I've added that issue to our list of bugs. We'll try to fix it soon. Best regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.8.0
- Device: any
- Browser: any
- OS: any
- Provided sample code: No
- Provided link: No