-
Notifications
You must be signed in to change notification settings - Fork 107
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
Radio/checkbox error prompt is displayed at every option #447
Comments
This is not really related to atk4 but more on semantic-ui. The only way to remove label for each individual radio button is to use the form setting inline set to false. You could override Form class and render it like:
Now using
Will display all radio in red with no label. If you would still like to send error message to user you can add an error view inside your form:
and display your error message at ounce using:
Hope this help. |
Hi Alain, thx for the explanation. So I will add this to the Semantic UI issues as this will be the correct place then. |
if you do - reference this ticket here.. |
It seems there is no SUI/FUI issue, the closest (but different) issues I found is fomantic/Fomantic-UI#1387. |
When using return $from->error() with a radio field, the error message is displayed on every radio option:
The false positioning of the error messages may well be due to some of my CSS changes, but IMHO displaying the error message on every single radio item seems wrong.
Proposal: Make all radio items red, display the error message on first one only
checkboxes are also affected - see #1826
The text was updated successfully, but these errors were encountered: