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
Talking with @hannalaakso yesterday, we realised the design system docs could be clearer that a false or nullerrorMessage would be ignored.
My team had interpreted the docs that if the errorMessage attribute were provided, macros would output error styling. It's easier for us to provide a false / null errorMessage attribute than it is to conditionally provide the whole thing.
Talking with @hannalaakso yesterday, we realised the design system docs could be clearer that a
false
ornull
errorMessage
would be ignored.My team had interpreted the docs that if the
errorMessage
attribute were provided, macros would output error styling. It's easier for us to provide afalse
/null
errorMessage attribute than it is to conditionally provide the whole thing.Related: it would possibly be good to extend this behaviour to empty strings for
errorMessage
, which might match recent work where empty arrays were ignored.The text was updated successfully, but these errors were encountered: