I need a field textarea according to the documentation it's adding an options attribute:
options object to set any global options for the form
html
<json-schema-form [schema]="schema" [options]="schemaFormOptions"></json-schema-form>
options:
schemaFormOptions =
{
key: "Description",
type: "textarea",
};
json schema:
{
"Description": {
"type": "string"
}
}
After loading the form, an input instead of textarea field is generated for Description.
I need a field textarea according to the documentation it's adding an options attribute:
html
<json-schema-form [schema]="schema" [options]="schemaFormOptions"></json-schema-form>options:
json schema:
After loading the form, an input instead of textarea field is generated for Description.