guillaumepotier / Parsley.js

Validate your forms, frontend, without writing a single line of javascript
http://parsleyjs.org
MIT License
9.04k stars 1.3k forks source link

Bootstrap 4 demo #1245

Open djibe opened 6 years ago

djibe commented 6 years ago

I guys, I wanted to share a Parsley integration into Bootstrap 4 (with material design by Daemonite). Had to tweak classes to make it correspond to BS4. Enjoy https://jsfiddle.net/djibe89/tu0ap111/

mbaas2 commented 5 years ago

Good job! Did you continue that work?

Is there any plan how to handle this - will there be additional .css to enable Parsley & Bootstrap to cooperate?

djibe commented 5 years ago

Hi. Yesterday I added the pure CSS validation icons of BS 4.3.1 as Daemonite material UI is still based on BS 4.1.1 (=> see CSS in my fiddle. If you are using VS 4.3.1 you don't need extra CSS).

Parsley works great as you can see, you just need to tweak plugin classes declarations as in my fiddle (=> See the JS script in my fiddle).

Tell me if my message is not clear.