We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isPristine
I have a reset button for the form; and I would like to disable the button is the form is already reset to initial values.
There is a isPristine property for one single field. Is there a global property / function to check if the whole form is not "touched"?
The text was updated successfully, but these errors were encountered:
There is not, but it looks like it would be very easy to write in Formsy.ts. Something like this, I think:
Formsy.ts
public get isPristine = () => { return this.inputs.every((component) => component.state.isPristine); };
Would you like to try to add it, write a test, and add it to the documentation?
Sorry, something went wrong.
updateInputsWithValue
onChange
I would love to. but I just got started with ts, and currently filled with works😢
But I'm very happy to give it a try after April, if that's ok.
Totally! I also added the (pull request wanted) tag so it might get done by myself or someone else. Whoever does it, thanks for the great suggestion!
(pull request wanted)
No branches or pull requests
I have a reset button for the form; and I would like to disable the button is the form is already reset to initial values.
There is a
isPristine
property for one single field. Is there a global property / function to check if the whole form is not "touched"?The text was updated successfully, but these errors were encountered: