Skip to content

3.1.2

Compare
Choose a tag to compare
@pedrocorreia pedrocorreia released this 18 Dec 16:08
· 306 commits to develop since this release

Javascript

Minor breaking change: Ink.UI.Toggle no longer supports detecting whether the toggled element is currently visible (using getComputedStyle) in order to set its initial state. To achieve the same effect, set the class of the first target to be the same as the classNameOn option (which defaults to 'show-all'). This may break some things, but it improves the predictability and usability of the component.

Fixes #414

Fixes terrible bug in FormValidator_2 where neverSubmit is always true