A WebView for the input side: WebField

Description of the limitation and why it is relevant to address

As a developer I want to have the possibility to create my own type of input so that I have the flexibility that the WebView provides on the view side.

I think this is relevant for the VIKTOR platform because it makes the SDK more flexible.

Submitter proposed design (optional)

None

Current workarounds

None

Requested by

@RamiEvans

cool idea! @RamiEvans : what kind of input fields are you thinking of if this is possible?

Good day @matthijs I was specifically thinking of HTML rendering such as is available in ipywidgets: Widget List — Jupyter Widgets 8.1.2 documentation

This for instance allows a user to create very simple elements which can be used and re-used throughout the code. A very simple example is an HTML line that render a line around a header whenever it is used (from ipywidgets HTML)

HTMLDisplay("""
<style>
.bottom-border {
    border-bottom: 1px solid black
}
.top-border {border-top: 1px solid black
}
.font-size {font-size: 20px
}
</style>
""")

This gives us a lot of power with regards to styling or custom elements