Skip to content

Commit

Permalink
Merge pull request #14 from saicheck2233/new_AddAdditionalInputTypeEx…
Browse files Browse the repository at this point in the history
…ample

Enhancement: Add additional input type example
  • Loading branch information
saicheck2233 authored Jul 11, 2023
2 parents a476db1 + de818b0 commit 9a316bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@
{"$schema": "http://json-schema.org/draft-03/schema#", "type": "object", "properties": {"radio1": {"type": "boolean","format": "radio","title": "Animal", "required": true, "enum": ["Dog", "Cat", "Bird"]}}},
null,
null,
"Boolean supporting radio type. Must define `format` and `enum` fields."]
"Boolean supporting radio type. Must define `format` and `enum` fields."],
["Additional input type format",
{"$schema":"http://json-schema.org/draft-03/schema#","type":"object","properties":{"password":{"title":"Password","type":"string","format":"password","description":"Password field would have the text masked.","required":true},"email":{"title":"Email","type":"string","format":"email","description":"Email field would need to follow the format of [email protected] in order to pass the validation.","required":true},"date":{"title":"Date","type":"string","format":"date","description":"Use the date picker to pick the date.","required":true},"time":{"title":"Time","type":"string","format":"time","description":"Use the time picker to pick the time.","required":true}}},
null,
null,
"Additional input type format such as `password`, `email`, `date` and `time`."]
];

var selectedTab = "schema";
Expand Down

0 comments on commit 9a316bd

Please sign in to comment.