Mevrael / bunny

BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.
https://bunnyjs.com
MIT License
486 stars 39 forks source link

On error, success class is not removed #33

Open flexchar opened 5 years ago

flexchar commented 5 years ago

Hi,

been using the success class showvalid feature and it appears that if an input field from valid goes to invalid success class is still left on the input group container.

References issue #18

screenshot 2019-03-05 at 09 55 34

screenshot 2019-03-05 at 09 56 12

Please note how the tick is still there. It visually represents that the class has not been removed from the input group container element.

Otherwise, pretty good work. :)

Mevrael commented 5 years ago

Sorry for delay and thanks for submitting a bug report. Nothing critical here and PRs always welcome :)