For our design system based on RUI, we would need to show the validationText before the helpText when some input element is in invalid state.
The logic in support of this change is:
- if I see the error the
helpText was likely not helpful enough and the validationText is more useful to the user.
- In cases where the
helpText is long it would put the validationText too far from the input element.
For our use case the change of rendering order can be either hardcoded or it can be somehow configurable.
For our design system based on RUI, we would need to show the
validationTextbefore thehelpTextwhen some input element is in invalid state.The logic in support of this change is:
helpTextwas likely not helpful enough and thevalidationTextis more useful to the user.helpTextis long it would put thevalidationTexttoo far from the input element.For our use case the change of rendering order can be either hardcoded or it can be somehow configurable.