This component is a webblock with combo-select to demonstrate how to choose state and, based on selection, retrieve the cities from that state using an REST API from IBGE to fill state and city. Fell free to adapt to your use case.