Skip to content

wc-form #43

Description

@bitifet

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalPropose an idea for a new repository

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions