Modal close button error


Topic: Modal close button error

pawled asked 4 years ago

Take a look at this: modal_close_button_error

This is yours example. What's wrong?


Mikołaj Smoleński staff commented 4 years ago

Where exactly do we have such example? The correct syntax for modal's close button is:

    <button
      type="button"
      class="btn-close"
      data-dismiss="modal"
      aria-label="Close"
    ></button>

Best regards


pawled commented 4 years ago

I am using this one. Doesn't work.


Mikołaj Smoleński staff commented 4 years ago

Close button was added in the 2.0.0 version. I suppose You have older MDB UI KIT version in Your project, that's why it's not working. Best regards


pawled commented 4 years ago

I downloaded the newest and it is working now. Thanks. Previously I was using v2 too.


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
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: 2.2.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No
Tags