mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.34k stars 1.15k forks source link

Allow Waves init customization #148

Closed 01e9 closed 6 years ago

01e9 commented 6 years ago

Expected behavior

Somehow to overwrite default init parameters.

Actual behavior

It is hardcoded

https://github.com/mdbootstrap/bootstrap-material-design/blob/40ba6e276de09adcf8ddab56bd4a8cfde97cbf2a/js/mdb.js#L15183-L15191

Your working environment and MDB version information

4.5.0 with Webpack


On line 15188 there is Waves.attach('... .navbar input', ['waves-light']);, it breaks my text inputs https://getbootstrap.com/docs/4.0/components/navbar/#forms

You can fix this with Waves.attach('..., .navbar button, .navbar input[type="submit"]', ['waves-light']);

01e9 commented 6 years ago

This is not critical.

You can just fix the button selector and close this issue.