Repository navigation
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 |
Answered by
AlexVelezLl
May 14, 2025
Replies: 1 comment
|
Hi @yeshwanth235! Since it has the |
0 replies
Answer selected by
MisRob
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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 :).