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

Fix config.ClientSideValidation switch, remove redundant vm.validationRules property #1773

Merged
merged 1 commit into from Feb 21, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Feb 18, 2024

We moved validation rules to the type metadata, but we didn't remove the old validation rules from the view model. The new code also didn't respect the config.ClientSideValidation (which disables client-side validation rules).
This patchs removes the old duplicated validationRules and adds config.ClientSideValidation to the type mapper.

…nRules property

We moved validation rules to the type metadata, but
we didn't remove the old validation rules from the view model.
The new code also didn't respect the config.ClientSideValidation
(which disables client-side validation rules).
This patchs removes the old duplicated validationRules and adds
config.ClientSideValidation to the type mapper.
@exyi exyi added the bug label Feb 18, 2024
@tomasherceg tomasherceg added this to the Version 4.2 milestone Feb 21, 2024
@tomasherceg tomasherceg merged commit 5f8a459 into main Feb 21, 2024
14 of 16 checks passed
@tomasherceg tomasherceg deleted the fix-config-ClientSideValidation branch February 21, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants