Selectize 12.2-13.3 does not support Foundation 6 Abide validation #1724
amygilbert
started this conversation in
Ideas
Replies: 2 comments
-
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Beta Was this translation helpful? Give feedback.
0 replies
-
Re-opening; Thanks for the great write-up and examples. I don't personally use foundation, but can take a look |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I did:
(or gave a link to a demo on the Selectize docs)
like below
Foundation 6 Abide validation library (https://get.foundation/sites/docs/abide.html) does not detect required empty selectize fields when using Selectize 12.3-13.3. Selectize 12.2 does work with Abide.
Steps to reproduce:
https://cdnjs.cloudflare.com/ajax/libs/foundation/6.6.3/js/foundation.min.js
Expected result:
When you click submit without entering anything in the selectize field, the form should not submit and the data-abide-error div should display.
CodePen using Selectize 12.2 works: https://codepen.io/amygilbert/pen/qBmrLOm
Actual result:
The form submits with the empty required selectize field.
CodePen using Selectize 13.3 (12.3 or later) does not work: https://codepen.io/amygilbert/pen/BaRWqpj
I see two Selectize 12.3 commits that have to do with validation that may have something to do with it:
629f7e6
0316d24
I am using Selectize 12.2 with one minor fix I did myself related to Issue 1191 so I understand if there's no time to fix this issue. There are likely few people who are using both of these code libraries.
And let me just add that I really appreciate that Selectize is still actively being developed. I looked into many different select plugins and this was by far the best. It's straight-forward, well-documented, and powerful. It does everything I need and more. Thanks you so much for you time and talent.
Beta Was this translation helpful? Give feedback.
All reactions