Skip to content
New issue

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

How to check if the form is dirty? #5693

Open
ahsaad2512 opened this issue Jul 16, 2024 · 1 comment
Open

How to check if the form is dirty? #5693

ahsaad2512 opened this issue Jul 16, 2024 · 1 comment

Comments

@ahsaad2512
Copy link

Hi,

I am using formIO and trying to identify a way to find whether the form has some changes, which are not yet saved.

I try dirty is not working , and pristine is change to initial boolean value when i reload page .

any help ?

@lane-formio
Copy link
Contributor

The pristine flag is definitely what you would be looking for here. Here's an example of how to access it.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants