mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
Added some data validation
This commit is contained in:
1 parent
78da72f3cb
commit
0241cacbf9
1 file changed
+3
-3
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<md-input-container>
|
<md-input-container>
|
||||||
<label><var:string label:value="Port:"/></label>
|
<label><var:string label:value="Port:"/></label>
|
||||||
<input type="text" required="required"
|
<input type="number" required="required" min="1" max="65535"
|
||||||
ng-model="account.port"/>
|
ng-model="account.port"/>
|
||||||
</md-input-container>
|
</md-input-container>
|
||||||
|
|
||||||
@@ -62,12 +62,12 @@
|
|||||||
|
|
||||||
<md-input-container>
|
<md-input-container>
|
||||||
<label><var:string label:value="Email:"/></label>
|
<label><var:string label:value="Email:"/></label>
|
||||||
<input type="text" required="required" ng-model="account.identities[0].email"/>
|
<input type="email" required="required" ng-model="account.identities[0].email"/>
|
||||||
</md-input-container>
|
</md-input-container>
|
||||||
|
|
||||||
<md-input-container>
|
<md-input-container>
|
||||||
<label><var:string label:value="Reply To Email:"/></label>
|
<label><var:string label:value="Reply To Email:"/></label>
|
||||||
<input type="text" ng-model="account.identities[0].replyTo"/>
|
<input type="email" ng-model="account.identities[0].replyTo"/>
|
||||||
</md-input-container>
|
</md-input-container>
|
||||||
|
|
||||||
<!-- FIXME -->
|
<!-- FIXME -->
|
||||||
|
|||||||
Reference in new issue
Block a user