diff options
author | Christian Oliff <christianoliff@pm.me> | 2022-04-05 11:59:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 11:59:47 +0300 |
commit | c13888a18877a76402eeceef84b7d89b3a4dd0eb (patch) | |
tree | 2cf36dfdeae0876ab99f03c839b161f32a1c50c6 | |
parent | 34c9b572eb64a34c0f2cc7478a4f43b72ea3275f (diff) |
use `inputmode="numeric"` on port number
this is a UX enhancement for touchscreen devices... e.g. iPad
-rw-r--r-- | apps/settings/templates/settings/admin/additional-mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/admin/additional-mail.php b/apps/settings/templates/settings/admin/additional-mail.php index a7e8382de18..6b85fcbe867 100644 --- a/apps/settings/templates/settings/admin/additional-mail.php +++ b/apps/settings/templates/settings/admin/additional-mail.php @@ -140,7 +140,7 @@ $mail_sendmailmode = [ <input type="text" name="mail_smtphost" id="mail_smtphost" placeholder="smtp.example.com" value="<?php p($_['mail_smtphost']) ?>" /> : - <input type="text" name="mail_smtpport" id="mail_smtpport" placeholder="<?php p($l->t('Port'))?>" + <input type="text" inputmode="numeric" name="mail_smtpport" id="mail_smtpport" placeholder="<?php p($l->t('Port'))?>" value="<?php p($_['mail_smtpport']) ?>" /> </p> </form> |