You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a need for a field that retrieves its options via an HTTP request (to an API). The structure of the response to that GET request is, for example;
{
_embedded: {
people: [
// The array of options
]
}
}
I found the optionsCallback option in the documentation however since the form schema (which is dynamic and provided by an API) could in theory contain infinite different API endpoint providers of options for different fields (with differing response keys in place of "people") creating a callback to pluck the options out is less feasible.
Is there a way to do something similar to the following? Thanks
Wish someone had the answer for you after all this time. I have similar need but need angular (typescript) version of this library to be of use. Did you find a solution with another json schema library?
Sorry, I haven’t had any time for this library the last year, but I would love it if you added this funktionality(I welcome PRs). @bhamscott..angular version?
I have a need for a field that retrieves its options via an HTTP request (to an API). The structure of the response to that GET request is, for example;
I found the optionsCallback option in the documentation however since the form schema (which is dynamic and provided by an API) could in theory contain infinite different API endpoint providers of options for different fields (with differing response keys in place of "people") creating a callback to pluck the options out is less feasible.
Is there a way to do something similar to the following? Thanks
The text was updated successfully, but these errors were encountered: