I need some clarification regarding a few props in the Kmodal component. #13394
-
|
I'm currently working with the Kmodal component and tried using the hasError and errorMessage props, but the error message doesn't appear to be displayed. It seems like a specific CSS class might be preventing it from showing. Also, are these props used anywhere else in the project?
https://design-system.learningequality.org/kmodal#prop:hasError |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @yeshwanth235! Since it has the |
Beta Was this translation helpful? Give feedback.

Hi @yeshwanth235! Since it has the
visuallyhiddenclass, it seems it was intially designed to communicate error messages just for screen readers, and not for sighted users. But I didnt find any usage of these props in our codebase, so you can just ignore them :).