autoform icon indicating copy to clipboard operation
autoform copied to clipboard

Input types

Open Danwhy opened this issue 7 years ago • 1 comments

We currently have a number of input types working:

Based on Ecto Types:

  • :string - text input
  • :integer, :float, :decimal - number input
  • :boolean - checkbox
  • :date - generates three select inputs - year, month, day
  • :time - generates two select inputs - hour, minute
  • :utc_datetime, naive_datetime - combines :date and :time inputs

Based on field name:

  • :email - email input
  • :password - password input
  • :url - url input
  • :search - search input

Any other name/types will generate a text input.

Are there any other basic types we want to cover? Are any of these incorrect/do any have a better input type?

Danwhy avatar Sep 28 '18 10:09 Danwhy

@Danwhy looking great so far. :shipit:

nelsonic avatar Sep 28 '18 11:09 nelsonic