Skip to content

Releases: colinaut/alpinejs-plugin-simple-validate

v1.6.7

09 Aug 23:54
Compare
Choose a tag to compare
  • fix: issue with $validate.data and finding checkbox/radio groups by name 5b2a866

v1.6.6...v1.6.7

v1.6.6

09 Aug 22:56
Compare
Choose a tag to compare
  • fix: issue with isComplete and fields e781b85

v1.6.5...v1.6.6

v1.6.5

05 Aug 23:09
Compare
Choose a tag to compare

Update 1.6.5

  • fix: issue with checkbox group array 5eaf765
  • also a bunch of code cleanup and simplification

v1.6.4...v1.6.5

v1.6.4

29 Jul 20:07
Compare
Choose a tag to compare

Updates from 1.6.2

  • improvement in generic error msg. It now takes the name/id and converts dashes to spaces so fav-cat becomes "fav cat required"
  • when searching for adjacent error-msg element it searches all following elements. This allows you to add the element further away with a description text or label between it.

Additional fix for 1.6.4

  • fix: getNextSibling now stops searching for next error-msg when it hits a field and allows intervening labels a0368de

v1.6.3...v1.6.4

v1.6.3

29 Jul 19:30
Compare
Choose a tag to compare

Updates

  • improvement in generic error msg. It now takes the name/id and converts dashes to spaces so fav-cat becomes "fav cat required"
  • when searching for adjacent error-msg element it searches all following elements. This allows you to add the element further away with a description text or label between it.

v1.6.2...v1.6.3

v1.6.2

28 Jul 16:03
Compare
Choose a tag to compare
  • build: turn off console.log 95212c2

v1.6.1...v1.6.2

v1.6.1

28 Jul 15:58
Compare
Choose a tag to compare
  • fix: bug in code which always tripped invalid 0515888
  • docs: typo 8303389

v1.6.0...v1.6.1

v1.6.0

28 Jul 00:19
Compare
Choose a tag to compare

New Version 1.6

I've changed validation and error messages to comply with aria practices. You may need to change your css but this is otherwise backwards compatible from version 1.5.

  • aria-invalid and aria-errormessage are added.
  • Error messages are displayed in an adjacent element with error-msg class id matched with the aria-errormessage
    • If this element already exists it uses it. Otherwise it creates a new element.
    • This element is hidden or shown using the hidden attribute.
  • Also did some general code cleanup.

v1.5.8...v1.6.0

v1.5.8

27 Jul 02:50
Compare
Choose a tag to compare
  • fix: fix issue with data var not using const ed18a3a
  • docs: add info on magic function c2dea7c

v1.5.7...v1.5.8

v1.5.7

25 Jul 22:09
Compare
Choose a tag to compare
  • feat: added makeRequired() and isRequired() magic functions 59eabba
  • fixes: cleanups and small fixes 1e50f34

v1.5.6...v1.5.7