SchemaToCode
NGX-SCHEMA-TO-CODE

Input type decides which input control should be used in input form and how to show it on grid list.  It is an optional metadata.  If it is not provided then it will be decides on base of other metadata.

{
  "person": {                   // entity name
    "firstName": {              // property name
      "dataType": "string",     // string, number, boolean, array, group & file only.
      "inputType": "text",      // checkbox, date, email, file, group, image, number, radio, select, slideToggle, text, textarea etc.
    },
    ...
}

Checkbox,

Date,

Email,

File,

Group,

Image,

Number,

Radio,

Select,

SlideToggle,

Text,

Textarea

"none": property will not be added to input form. It is use for primary / unique key that autogenrate on database.

Note: Also support other input types that supported by the browser like password, url, color etc.

Related Topics:

Data Typesvalidation