Skip to content

Input not working in messagebox #6980

Answered by Lukas742
TEJENDRA90 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TEJENDRA90

the MessageBox doesn't support other children than text. Please see the prop's description:

Note: Although this prop accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design and accessibility capabilities.

If you want to support a more complex scenario, you can use a Dialog instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Lukas742
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants