svelte-form
svelte-form copied to clipboard
Mapping JSON Schema types to HTML elements
| types/elements | null | boolean | number | string | array | object |
|---|---|---|---|---|---|---|
| input[type=checkbox] | * | |||||
| input[type=color] | * | |||||
| input[type=date] | * | |||||
| input[type=datetime] | * | |||||
| input[type=datetime-local] | * | |||||
| input[type=email] | * | |||||
| input[type=file] | * | |||||
| input[type=hidden] | * | |||||
| input[type=month] | * | |||||
| input[type=number] | * | |||||
| input[type=password] | * | |||||
| input[type=radio] | * | |||||
| input[type=range] | * | |||||
| input[type=search] | * | |||||
| input[type=tel] | * | |||||
| input[type=text] | * | |||||
| input[type=time] | * | |||||
| input[type=url] | * | |||||
| input[type=week] | * | |||||
| textarea | multiline | |||||
| select |