Topic: Admin Dashboard Template - button disabled state

pjcunningham priority asked 5 years ago


Hello MDB, Button does not show disabled state e.g. In support.html at about line 354 replace the form definition with the following code:
<div class="fixed-action-btn">
    <form action="/this-url-doesnt-exist" method="post">
        <button type="submit" class="btn-floating btn-large red" disabled>
            <i class="fa fa-pencil"></i>
        </button>
    </form>
</div>
But works if I set disabled on the class :
<div class="fixed-action-btn">
    <form action="/this-url-doesnt-exist" method="post">
        <button type="submit" class="btn-floating btn-large red disabled">Test</button>
    </form>
</div>
Is this the intended behavior ? Regards, Paul.

pjcunningham priority answered 5 years ago


Hello Marta, Thanks, Paul.

Marta Wierzbicka staff answered 5 years ago


Hello pjcunningham, add class .btn to <button type="submit" class="btn-floating btn-large red" disabled> and it will be work. It should looks like here: <button type="submit" class="btn btn-floating btn-large red" disabled> Best, Marta

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags