Topic: jquery mdb-select cannot display error

mtutumlu pro asked 7 years ago


I am not able to display error message for jQuery mdb-select filed. After the form page is loaded and filled by a user and the submit button is clicked, the same page with the same form will be reloaded from the server with some error messages. The page is reloaded with the html form fields shown in the first image. It supposed to show two error messages but it shows the error message only for the text field, not for the mdb-select field. Here is the HTML: https://drive.google.com/file/d/1TvbKqP_wAPkYO0XVs6dI5el6bSvddzWk/view?usp=sharing And the result in browser: https://drive.google.com/file/d/13JiFqh0Sp6Fhp-ef3XcSoSyhFMgFGwmD/view?usp=sharing

Jakub Strebeyko staff commented 7 years ago

Oh Hi There, Yes, you are unable to do so, since the feature is is not supported, as I had pleasure to explain in the other thread. The easiest solutions would be writing the simplest JavaScript function adding desired styles to a select element on your preferred trigger/POST event. With Regards, Kuba

mtutumlu pro commented 7 years ago

Okay, thanks.

FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags