Feedback: Custom input components & Form Builder API #3332
Replies: 2 comments 2 replies
-
I know this isn't currently documented but I'm eager to get in here. I see It doesn't seem like the |
Beta Was this translation helpful? Give feedback.
-
I know that the page you linked is empty, but I was watching the recordings of the preview and trying to reverse engineer some of what was going on just because I can't help myself. I managed to use the form property in the config to go after the name field from the pets example in the beta docs, read what the person is typing, and then change the value on the field based on what they typed. The use case of my test was silly, because it just sees if you wrote more than ten characters and replaces the entire string with "Too long" but the cool part is, in just four lines of beginner-level JS it has self-patched the field value without having to write a custom input component from the top down. I can open the JSON inspector and see that the value is safely and accurately changed. Once you get the mechanics out of the way it starts to free you up to deep dive into the "imagination" part; I genuinely can't wait to see what passionate and experienced people can produce with this lowered barrier to entry. |
Beta Was this translation helpful? Give feedback.
-
We have shipped a new API for Form building and custom input components.
Let us know how it works for you:
Beta Was this translation helpful? Give feedback.
All reactions