I have been trying to build the dropdown menu which has menu items and divider between them, so when I select the menu items I want to display menu item with the divider
issue here is that I am updating the label of the menu item with the value of the a menu item so when i select it, I’m getting the value on the screen which i want but then in the list the label is also updated which I don’t want
MEHTA JEEL AMIT 20BCE1117 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.