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: Multiselect save button not visible in modal dialog

fmaeseele pro asked 5 years ago


Expected behavior Using a multiselect inside a Modal Dialog, the Save button should be visible

Actual behavior Save button not visible


Piotr Glejzer staff commented 5 years ago

Do you have some example code to show? You can use our snippets -->
https://mdbootstrap.com/snippets/


fmaeseele pro answered 5 years ago


Example Snippet

I finally found out that the problem is not coming from the Modal dialog, but to a javascript code I use to reset the Select control to its initial value every time I show the dialog.

The code to reset the select:

$('#Users').val("").trigger('change');

I don't know why this prevent the button save to show....


Piotr Glejzer staff commented 5 years ago

I added a task for that I don't have an ETA solution for now with this. Sorry about that.



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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.5
  • Device: PC
  • Browser: Chrome/Edge/Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags