Set email fields to email type to help editing

This commit is contained in:
Andrés Moya 2021-08-02 11:54:10 +02:00
parent bbd6d171be
commit 3fbd73129e
3 changed files with 4 additions and 3 deletions

View file

@ -7,6 +7,7 @@
- Allow to zoom with ctrl + middle button [Taiga #1428](https://tree.taiga.io/project/penpot/us/1428). - Allow to zoom with ctrl + middle button [Taiga #1428](https://tree.taiga.io/project/penpot/us/1428).
- Auto placement of duplicated objects [Taiga #1386](https://tree.taiga.io/project/penpot/us/1386). - Auto placement of duplicated objects [Taiga #1386](https://tree.taiga.io/project/penpot/us/1386).
- Go to a undo step clicking on a history element of the list [Taiga #1374](https://tree.taiga.io/project/penpot/us/1374). - Go to a undo step clicking on a history element of the list [Taiga #1374](https://tree.taiga.io/project/penpot/us/1374).
- Set email inputs to type "email", to aid keyboard entry [Taiga #1921](https://tree.taiga.io/project/penpot/issue/1921).
- Use space + mouse drag to pan, instead of only space [Taiga #1800](https://tree.taiga.io/project/penpot/us/1800). - Use space + mouse drag to pan, instead of only space [Taiga #1800](https://tree.taiga.io/project/penpot/us/1800).
### :bug: Bugs fixed ### :bug: Bugs fixed

View file

@ -97,7 +97,7 @@
[:div.fields-row [:div.fields-row
[:& fm/input [:& fm/input
{:name :email {:name :email
:type "text" :type "email"
:tab-index "2" :tab-index "2"
:help-icon i/at :help-icon i/at
:label (tr "auth.email")}]] :label (tr "auth.email")}]]

View file

@ -96,12 +96,12 @@
:content (tr "modals.change-email.info" (:email profile))}] :content (tr "modals.change-email.info" (:email profile))}]
[:div.fields-row [:div.fields-row
[:& fm/input {:type "text" [:& fm/input {:type "email"
:name :email-1 :name :email-1
:label (tr "modals.change-email.new-email") :label (tr "modals.change-email.new-email")
:trim true}]] :trim true}]]
[:div.fields-row [:div.fields-row
[:& fm/input {:type "text" [:& fm/input {:type "email"
:name :email-2 :name :email-2
:label (tr "modals.change-email.confirm-email") :label (tr "modals.change-email.confirm-email")
:trim true}]]] :trim true}]]]