feat(build): group components in checkbox selection#2209
feat(build): group components in checkbox selection#2209lubber-de merged 2 commits intofomantic:developfrom
Conversation
|
Hacky or not, I like it! :)
I understand the breaking change part. Propably not worth it. But please don't assume that people using form elements will want validation too. One developer I know uses SUI for the HTML/CSS, but ships it with his own vanilla JS. I often rely purely on backend validation. So form elements and validation are definitely 2 separate things.
You're right, thanks for not doing that ;) The double |
Totally agree! Backend validation ist basically the main point to implement any data validation. I also thought about making it backward compatible somehow... but was too lazy to do all the needed implementation....for now.
Seems legit, yes |
Description
This PR adds a Grouping Header to the component selection at install time.
It's more a hack by using disabled entries, but works out good enough 😄
I, for now, decided against renaming the form.js to formvalidation.js because i fear a too big breaking change and most probably people who want form elements also want the validation anyway.
I could have just changed the checkbox selection name to "formvalidation" but effectively the script would have continued with "form" anyway which probably creates more confusion.
Testcase
npx gulp installScreenshot
Closes
#2180