Replies: 3 comments 1 reply
|
You can use the message store system for that: https://formkit.com/essentials/architecture#message-store |
1 reply
|
@pano9000 you’re right though that success messages as a first-class feature is something we should explore more. |
0 replies
|
so I just got to spend some time with it and while it definitely can be used to achieve what I want, it requires a bit of extra work: So I feel like something like @justin-schroeder thank you for acknowledging the idea! :-) |
0 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.
Hi All,
quick idea, because I did not find anything similar in the FormKit docs (or am I missing something obvious here?):
I feel like it would be useful to also have a method similar to the
node.setErrorsone, but one that is used to set "Success Messages", received from the backend (or some other source), e.g. "The Form has been submitted successfuly."This could then be used together with FormKitMessages, to display that message, after the Form was successfully submitted.
It feels wrong to use node.setErrors for this currently.
All reactions