forms-js / discussions

6 stars 0 forks source link

List of types #11

Open mohsen1 opened 9 years ago

mohsen1 commented 9 years ago

Here are list of types and their possible HTML representation:

Type HTML Description
boolean <checkbox>
string <input>
number <input type="number">
integer Standard JS number type
float A number that is put on string in JSON to preserve all it's data
day
week
month
year
time
timerange
daterange
email
url
password
country

We need an additional format property that is a regular expression and describe format of date, time and string types.

Please add types that I'm missing here