html
This component makes it possible to integrate HTML elements directly into a form.
Configuration
For general configuration options, see General component configuration.
Specific configuration
type("html")-
Type of component.
value(Binding | string)-
the content is evaluated as HTML and displayed accordingly.
General configuration
In addition to the configurations valid for all Configurationsno further configurations can be set.
Example
html.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {},
"components": [
{
"type": "container",
"label": "HTML Component Example",
"components": [
{
"type": "html",
"value": "Data binding: ${/data/input}${/data/text}"
},
{
"type": "html",
"value": "Data Binding only for input: ${/data/input}<b>Some text.</b>"
},
{
"type": "textfield",
"label": "Input for html Elements",
"value": "${/data/input}"
}
]
}
],
"state": {
"data": {
"input": "<p> A Paragraph </p>",
"text": "<b>Some text.</b>"
}
}
}
Embedded preview
Keywords: