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: Select setValue() fails when you try to set an invalid value

Espen Rønning priority asked 3 years ago


Expected behavior Setting an invalid value should at least keep the script running. I think it would be a good idea to let setValue() return true if successfully set, or false if not.

Actual behavior Stops script with "Cannot read property 'nativeOption' of undefined"

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/ererling-sande-no/3051922#js-tab-view


Grzegorz Bujański staff answered 3 years ago


You're right. We will fix it as soon as possible.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.1
  • Device: Any
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes