Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wc-form #43

Open
bitifet opened this issue Mar 12, 2024 · 0 comments
Open

wc-form #43

bitifet opened this issue Mar 12, 2024 · 0 comments
Labels
proposal Propose an idea for a new repository

Comments

@bitifet
Copy link

bitifet commented Mar 12, 2024

Build a WC that implements an enhanced form with advanced features capable of import and export any valid JSON structure.

To do so it would need to handle subforms and variable-length lists alongside configurable constraints and user controls.

Notes

Not sure if I could be going so far... Please feel free to close this proposal if you think it is out of the scope of VanillaWC.

That being said: I'm not a crazy fool: I have it already working in Vanilla JS (Just it's not a WC yet). I called it "SmarkForm" since "SmartForm" was already taken and it is fully markup driven. But "WC-Form" would be great for a so powerfull component.

See the "Live Examples" in the References section below in case you are interested in taking a look: All examples are CDN-based single-pages that can be open independently ("Full Screen") and downloaded so that you can easily play with them.

Regarding the idea of moving to WCs, It's been long time from the last time I read about WC and it's just now that I've have discovered it is already a mature standard widely supported by most browsers.

So I'm not (yet) planning to migrate it to WC, but it feels amazing to me the idea of having it as a WC (or maybe a set of WCs... I still have to think in it more quietly...). And I felt I should share it publicly.

Maybe nobody cares, but in case someone could be interested, I'll be glad to receive any feedback and, maybe start to brainstorm in a future mitgration.

References

@bitifet bitifet added the proposal Propose an idea for a new repository label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Propose an idea for a new repository
Projects
None yet
Development

No branches or pull requests

1 participant