Skip to content

Options object in Angular Schema Form #315

Open
@angelcuenca

Description

@angelcuenca

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions