Topic: [Feature Request] MDBAutocompleteV5, getValue as object

Justin Martin free asked 4 years ago


Hello,

I suggest to add or change the getValue method of the new MDBAutocompleteV5 component.

If you add a getValueObject which should return the object selected on the data list, this event should be fire when a value of list is selected

if you want to keep only getValue, you could change it behaviour, if input string correspond to a key value of object in thedata array then it return the complete object. Else it's return the string (as it works at this moment)

I know it's possible to get this behavior by adding a method in the component that calls MDBAutocompleteV5, but it might be interesting to integrate it directly into the new component.

Regards, Justin


Mikołaj Smoleński staff commented 4 years ago

Thanks for Your feature request. I'm adding it to our list of ideas for the next releases. 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

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: HP PC
  • Browser: Brave
  • OS: Win 10
  • Provided sample code: Yes
  • Provided link: No