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

Date fields containing dates without dashes incorrectly appear as unsaved changes #1623

Open
jbukhari opened this issue Dec 20, 2024 · 0 comments · May be fixed by #1624
Open

Date fields containing dates without dashes incorrectly appear as unsaved changes #1623

jbukhari opened this issue Dec 20, 2024 · 0 comments · May be fixed by #1624

Comments

@jbukhari
Copy link
Member

During record validation, dashes are added to date fields in the background. This can cause the record to falsely appear to have unsaved changes, because the state of the data differs from the saved state.

if (this.value && "isDate" in data && this.code in data.isDate) {
let dateStr = this.value

@jbukhari jbukhari changed the title Issues list Date fields containing dates without dashes incorrectly appear as unsaved changes Date fields containing dates without dashes incorrectly appear as unsaved changes Dec 20, 2024
@jbukhari jbukhari linked a pull request Dec 20, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant