diff --git a/InvenTree/templates/js/forms.js b/InvenTree/templates/js/forms.js index c9242fb925..6ca4f0560c 100644 --- a/InvenTree/templates/js/forms.js +++ b/InvenTree/templates/js/forms.js @@ -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(