Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Latest commit

 

History

History
47 lines (31 loc) · 727 Bytes

File metadata and controls

47 lines (31 loc) · 727 Bytes

input

md-input

Example

{
  type: "input",
  key: "firstName",
  templateOptions: {
    type: "text",
    label: "First name",
    pattern: "[a-zA-Z]+"
    theme: "custom"
  }
}

Configuration

templateOptions.type : string

templateOptions.label : string

templateOptions.theme : string

Value of md-theme directive

templateOptions.className : string | expression | array

templateOptions.disabled : boolean

templateOptions.step : number

only if templateOptions.type is 'number'

templateOptions.min : number

templateOptions.max : number

templateOptions.pattern : string | RegExp

Value of ng-pattern directive