I am currently creating an application using React and Material UI, incorporating the autocomplete control feature. Take a look at the code sandbox I have set up.
Here are some concerns:
- I am aiming to have two autocomplete controls displayed on the same line. Despite trying to apply inline styling with display: "inline" to the div, it seems to be overridden by the default style. How can I ensure both controls appear side by side?
- Once the controls are positioned on the same line, I would like them to each take up 20% of the width, totaling 40% together. As more items are added to these controls, I want them to expand horizontally until they reach 100% width collectively. Then, the controls should increase in height to accommodate additional items.