Commit b236b4b1 authored by Evren Kutar's avatar Evren Kutar

add form field types fix for todo: password field type

parent c0132eb9
'use strict';
// TODO: password field fix
angular.module('zaerp.login', ['ngRoute', 'schemaForm'])
......@@ -18,7 +16,7 @@ angular.module('zaerp.login', ['ngRoute', 'schemaForm'])
type: "object",
properties: {
email: {
type: "string",
type: "email",
title: "Email"
},
pass: {
......@@ -43,7 +41,16 @@ angular.module('zaerp.login', ['ngRoute', 'schemaForm'])
remember: false
};
$scope.form = [
"*",
{
key: "email",
type: "email"
},
{
key: "pass",
type: "password"
},
"remember",
"who",
{
type: "submit",
title: "Save"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment