mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Support email fields
This commit is contained in:
parent
d77ca8aa3a
commit
96ecd2640a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user