I`m want to bind a select dropdown to Server Connect
When I try to select the (query_all_country) which is the server action file,(image 1)
I get the warning “Field is required”
That I dont understand ?? I saw a video where the server action file is chosen, and not any single field
There is 2 fields countryid and countryname.
Also in the select proterties in the select, (image 2)the data link is orange, and the text and id link is blue
Is it supposed to be those colors ?
I think wappler is absolute great, but there is just not enough documentation to support this software.
I think a lot more users would use this software, if indeed you could get info, on how to use all the
features and bells this software has to offer…either as videos or and as docs.! field_required|359x500
If the data item has children, clicking it first expands the tree rather than putting it in the data picker. A second click will add it to the data picker. Is it the second click that you’re missing?
I have made a API action (query_all_country)that gets all the countrys in the country table
This is called country_dropdown.
I have made a Server Connect (conn_country) and the action for this is under properties to
select the (country_dropdown) from the API action.
I then select the select box field, and on the right side under Prooerties I try to bind the
server action by clicking the orange lightning bolts for Data Source, Text Field and Value Field and bind
to the server connect
I choose (query_all_country) for Data source
I choose (Country) for Text Field and Country_id for Value Field.
Can you share the code you have on the page for the select element? On your screenshots all 3 of the properties have values so it’s a little confusing which property you’re trying to adjust by opening the data picker (lightning bolt)
I`m just trying to list as text (country names) and value as numbers, from the table with countrys.
Should they not all be filled to do that ?? data source field, text field, value field .
in the properties for the select box, I have orange for data source, blue for text field, and blue for value field
If that the correct way, then its working… I just wanted to know if this is the way, and was wondering why I got the “Field is required” message, but a double click solved the message…
But that is also what I mean, that nowhere there is documentation on how it should be done…
Get ready, sometimes the set dynamic data is !
From what I understood, colors just define the type of binding visually. So they are not that important. Bleu for example seems to be for direct binding to a data, green is for binding within a flow, orange seems for binding within a parent-children relationship.