I'm using the Web Builder contact form in Odoo 18 to create new contacts. The form includes a dropdown to select a state(province), but currently:
- The state dropdown shows every state in the world, regardless of the selected country.
- It's not searchable, so users have to scroll through a long list to find the right state.
I'd like to achieve two things:
- Filter the state options based on the selected country (only show states that belong to the chosen country).
- Allow users to type and search within the state dropdown for easier selection.
Is there a way to do this through customization or settings in the form view or website form widget?
Any guidance would be appreciated!