Skip to content

How to make part of the forms reusable? #1129

Answered by harry-whorlow
thefrana asked this question in Q&A
Discussion options

You must be logged in to vote

@thefrana the answer to your question is "you'll need to wait"...

Theres an open PR #825 that will allow you to create re-usable components. But, it's not merged yet, theres a few internal types that need to be exposed, so unless you want to recreate them in your local code base you'll have to wait.

As you'll see from everyones else’s attempts (including my own #1084), you run into typing issues, and this only becomes more of an issue the more you have things like validators, listeners, and other functionality.

But the maintainers are working on it, in-face it's the last checkmark on the v1.0 checklist, so you wont have to wait long.

Hope this helps 🤟

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@thefrana
Comment options

@epenflow
Comment options

@harry-whorlow
Comment options

Answer selected by thefrana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants