I have a ComboBox as follows:
How can I set the width of both 1 and 2 the same?
ComboBox has a property called useComboBoxAsMenuWidth when you set it will make sure it matches the menu width.
useComboBoxAsMenuWidth
Here is a codepen https://codepen.io/mohamedhmansour/pen/ZqdEMY