-
|
Hi, I am using Mantine 8.3.5. When I open a modal with form fields (TextInput, Select etc.) from a Menu with trigger as Menu.Item, I'm not able to focus on fields. If I replace Menu.Item with div or Menu.Label, it works fine. @rtivital Can you please guide what I'm doing wrong? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Menu.Item is a button, you cannot put inputs inside button. Menu component also implements menu accessibility pattern, inputs are not designed to be used as Menu.Item. If you want to display an input inside the Menu, do that inside Menu.Dropdown directly without Menu.Item. |
Beta Was this translation helpful? Give feedback.
Menu.Item is a button, you cannot put inputs inside button. Menu component also implements menu accessibility pattern, inputs are not designed to be used as Menu.Item. If you want to display an input inside the Menu, do that inside Menu.Dropdown directly without Menu.Item.