Enhanced forms
#10930
Replies: 1 comment 7 replies
-
This isn’t the case. How does it prevent you from using bind:value? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use enhanced forms and think it's all very neat apart from one little thing which I believe degrades the experience when you do have js enabled.
The inability to use bind:value when having an enhanced form is preventing me from using an enhanced form - I need to preview what is input in the form to see how things look before submitting the data.
I think this could be sorted by adding some kind of default value as the ActionData (what I have below is not working)
export let form: ActionData = { entries: [{ text: '', amount: '' }], recipientId: '' }
This initial ActionData object should probably be setup in the exported actions.
Hope to see this in a not too distant future 🙌
Beta Was this translation helpful? Give feedback.
All reactions