Options object in Angular Schema Form
angelcuenca opened this issue · 0 comments
angelcuenca commented
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.