formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.83k stars 1.04k forks source link

FIO-8402: fixed an issue where Validation Triggering on initial Form load #5625

Closed KatrinKhilko closed 2 weeks ago

KatrinKhilko commented 4 weeks ago

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-8402

Description

What changed?

The issue was caused by calculated values, form load use onChange method that performs calculation and set pristine flag to false even if form wasn't initialized and user hasn't made any changes. Choose adding check for form initialization.

Dependencies

n/a

How has this PR been tested?

Tested manually, all unit/integration tests pass locally

Checklist: