Skip to content

Comments

Show validation errors when switch changed#5516

Merged
jxlwqq merged 1 commit intoz-song:masterfrom
NikolayMurha:master
Feb 7, 2022
Merged

Show validation errors when switch changed#5516
jxlwqq merged 1 commit intoz-song:masterfrom
NikolayMurha:master

Conversation

@NikolayMurha
Copy link
Contributor

@NikolayMurha NikolayMurha commented Feb 3, 2022

When the state of the switch changes and there is a validation error, an empty warning appears and a JS error occurs in the console.
At the same time the visual state of the switch changes.
This commit displays an error message and does not change the visual state if an error occurs.

@jxlwqq jxlwqq self-requested a review February 7, 2022 07:57
@jxlwqq jxlwqq merged commit 6bfc26e into z-song:master Feb 7, 2022
@jxlwqq
Copy link
Collaborator

jxlwqq commented Feb 7, 2022

thanks

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 this pull request may close these issues.

2 participants