Skip to content

Select picker on API Rest #13749

Discussion options

You must be logged in to vote

Hi @jaquelinedealmeida

I've been looking into this for you. I'll give you an overview of how I approached this. I've also attached an app-export for you to take a look at.
13749-export-1716465337141.tar.gz

I've set two REST API queries using a GET method, the first getting States/Estados

and the second gets Municipalities/Municipios (forgive me, my Portuguese is non-existant).

Notice the Binding added to the second query, where the binding name appears inside handlebars of the query path. You can also set a default here if no value is specified. This can be useful for debugging.

.

In the design tab, my component tree looks like this

Where the first State Data Provider simply returns al…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mikesealey
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants