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!


Topic: Change multiSelect options type

et3rnal87 pro asked 5 years ago


Hi,

Does the mdb-select component have a way to change the type of the object the options array takes?

I have an array of type "SelectListItem" //MVC which uses Text instead of Label

public bool Selected { get; set; }
public string Text { get; set; }
public string Value { get; set; }

If not what is the recommended method to the name change?


Damian Gemza staff answered 5 years ago


Dear @et3rnal87

Unfortunately, there's no possibility to change this property name. You have to use the label property because this is how our select works.

Best Regards,

Damian



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Windows
  • Browser: FF
  • OS: Win10
  • Provided sample code: No
  • Provided link: No