You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<input type="text" class="form-control is-invalid" id="validationServer03" placeholder="City" required>
<div class="invalid-feedback">Please provide a valid city.</div>
The issue I am seeing is that both, help text and error text are smaller than regular text, but still have different text sizes. For example, in my browser, help text has 12.8 px while error text has 14 px and normal text has 16 px. If I add .small to my error text class (class="invalid-feedback small") it stays 14 px.
If you want to verify that, just compare the font sizes using the developer console in the linked documentation page. Maybe add class .small to one of the .invalid-feedback div's
When I noticed it, I had to display a list of errors (password too short, password same as username). In my case it would be beneficial if error text (.invalid-feedback) could the same size as the help text by default. Or at least having the option to make it the same size as help text by adding .small
The text was updated successfully, but these errors were encountered:
Hi @Borkason I am kinda lost with how you use invalid messages. Why do you use small at all? If you use the class invalid-feedback to whatever element you chose to wrap the message you should have consistent font size.
Both, help text and error messages are displayed under the input element. Help text is supposed to be small. So should invalid-text. As I see it, it's currently inconsistent and makes no sense. Why is one a different size than the other?
I don't know if this is intended or what, but in my opinion those should have the same font sizes.
Help Text can be display with either
or if you want to omit the semantics
Error messages in forms can be display using Server Side Validation
The issue I am seeing is that both, help text and error text are smaller than regular text, but still have different text sizes. For example, in my browser, help text has 12.8 px while error text has 14 px and normal text has 16 px. If I add
.small
to my error text class (class="invalid-feedback small"
) it stays 14 px.If you want to verify that, just compare the font sizes using the developer console in the linked documentation page. Maybe add class
.small
to one of the.invalid-feedback
div'sWhen I noticed it, I had to display a list of errors (password too short, password same as username). In my case it would be beneficial if error text (
.invalid-feedback
) could the same size as the help text by default. Or at least having the option to make it the same size as help text by adding.small
The text was updated successfully, but these errors were encountered: