Closed davidchoo12 closed 6 years ago
Any suggestion for this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Fixed since Fomantic-UI 2.7.2 by https://github.com/fomantic/Fomantic-UI/pull/349 See your adjusted jsdiddle here https://jsfiddle.net/eu20r34L/
I have a list of checkboxes which I need validation for at least 1 of the checkboxes is checked. I am using semantic ui with ASP.Net Core. Here is the generated checkboxes html
and here is the code I used to call the validation
The problem is after a round of validation and the checkboxes are in error: The checkbox list does not revalidate when the not the first checkbox is changed/checked. If the first checkbox is checked, it does revalidate and hide the errors: I expect that when any of the checkbox is checked, it should hide the errors like this:
I did some debugging on my own trying out different versions of semantic ui, and found out that the behaviour that I expected worked on version 2.1.8 and started breaking from 2.2 onwards. Here is a working sample on version 2.1.8: https://jsfiddle.net/ad4hdg3q/2/ and a breaking sample on version 2.2.10: https://jsfiddle.net/ad4hdg3q/3/