Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 163 lines (137 sloc) 2.84 kb

Character based
String
Text
Email
Number
Date

Other
Static
Switch
Check
Slider
Image
Options

Buttons
Submit

Character based

String row

String row

{
  title: "Name",
  key: :name,
  type: :string,
  placeholder: 'James Bond',
  auto_correction: :no,
  auto_capitalization: :none
}

Text row

Text Row

{
  title: "Text",
  key: :text,
  type: :text,
  placeholder: "Enter your text here",
  rowHeight: 100
}

Email row

Email row

{
  title: "Email",
  key: :email,
  type: :email,
  placeholder: 'me@mail.com'
}

Number row

Number row

{
  title: "Number",
  key: :number,
  placeholder: "12345",
  type: :number
}

Date row

Date row

{
  title: "Date",
  value: 326937600,
  key: :date_long,
  type: :date,
  format: :full
}

Other

Static row

Static row

{
  title: "Static",
  type: :static,
}

Switch row

Switch row

{
  title: "Remember?",
  key: :remember,
  type: :switch,
}

Check row

Check row

{
  title: "Check",
  key: :check,
  type: :check,
  value: true
}

Slider row

Slider row

{
  title: "Slider",
  key: :slider,
  type: :slider,
  range: (1..100),
  value: 25
}

Image row

Image row

{
  title: "Image",
  key: :image,
  type: :image
}

Options row

Options row

{
  title: "options",
  key: :options,
  type: :options,
  items: ['One', 'Two']
}

Buttons

Submit row

Submit row

{
  title: "Submit",
  type: :submit,
}
Something went wrong with that request. Please try again.