Support email fields

This commit is contained in:
Oliver 2021-06-23 23:27:02 +10:00
parent d77ca8aa3a
commit 96ecd2640a

View File

@ -306,7 +306,7 @@ function constructInput(name, parameters, options={}) {
func = constructTextInput;
break;
case 'email':
// TODO - email input
func = constructTextInput;
break;
case 'integer':
func = constructNumberInput;
@ -413,6 +413,10 @@ function constructTextInput(name, parameters, options={}) {
classes = 'urlinput form-control';
type = 'url';
break;
case 'email':
classes = 'emailinput form-control';
type = 'email';
break;
}
return constructInputOptions(