Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support optgroup in ListWidget #534

Closed
tfrancart opened this issue Dec 8, 2023 · 1 comment
Closed

Support optgroup in ListWidget #534

tfrancart opened this issue Dec 8, 2023 · 1 comment
Assignees
Labels
what: Configuration Related to how the component is configured what: Widgets Related to component value selection widgets

Comments

@tfrancart
Copy link
Contributor

We are exploring how Sparnatural can be an interface to more than one endpoint. See https://github.com/sparna-git/Sparnatural/blob/master/src/sparnatural/components/widgets/data/UrlFetcher.ts#L116 : the query is sent to all andpoints, and results are aggregated on the client-side

So to present the content of a List widget, we would simply group the results of the different endpoint inside optgroup. For this the ListWidget has to support optgroup

@tfrancart tfrancart added what: Widgets Related to component value selection widgets what: Configuration Related to how the component is configured labels Dec 8, 2023
@tfrancart tfrancart self-assigned this Dec 8, 2023
@tfrancart
Copy link
Contributor Author

Still requires documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
what: Configuration Related to how the component is configured what: Widgets Related to component value selection widgets
Projects
None yet
Development

No branches or pull requests

1 participant