Skip to content

dynamic forms in solara #512

@tharwan

Description

@tharwan

We would like to display dynamic forms in our solara frontend based on pydantic models / json schemas.

There are multiple IPyWidgets out there that provide this functionality namely:

However both currently do not seem to be compatible with solara. Mainly because they do not directly provide a widget but rather create and manage exisiting widgets. Therefore they do not have the option to use .element for initialisation.

Do you have any hints on how to best cover this use case?
Should the packages provide a proper widget?
Would it be sufficient to be able to swap the widget classes for the corresponding solara ones? e.g. sl.InputText for IPyWidgets.Text
Is there a good way to mix "traditional" IPyWidgets with reactive ones?

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions