Skip to content

Comments

fix(forms): Setting validation properties on a pristine non-dirty form#1638

Merged
rkaraivanov merged 9 commits intomasterfrom
rkaraivanov/fix-1632
Apr 9, 2025
Merged

fix(forms): Setting validation properties on a pristine non-dirty form#1638
rkaraivanov merged 9 commits intomasterfrom
rkaraivanov/fix-1632

Conversation

@rkaraivanov
Copy link
Member

Setting validation properties on a pristine non-dirty form element does not apply invalid styles.

Closes #1632

Setting validation properties on a pristine non-dirty form element
does not apply invalid styles.

Closes #1632
Rewritten the synthetic test for invalidation on a single blur
to follow the new behavior of form associated elements.
Added tests for validation slots and removed some which are
not really applicable.
Some code refactoring in the component to follow the coding style
guide.
@Marina-L-Stoyanova
Copy link

I have tested the fix with the attached sample as well as the sample in codegen-output repo : https://github.com/IgniteUI/codegen-output/tree/master/04_Forms/Validation%20Samples/React%20validation and it is working as expected.

@rkaraivanov rkaraivanov merged commit ebfa052 into master Apr 9, 2025
5 checks passed
@rkaraivanov rkaraivanov deleted the rkaraivanov/fix-1632 branch April 9, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Input required state is wrongly set, even though component is prestine

3 participants