Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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