correction for mandatory fields in forms

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-08-26 09:06:42 +02:00
parent 8f64460647
commit 7f6ea29e15
19 changed files with 75 additions and 21 deletions

View File

@@ -35,7 +35,7 @@ return [
'title' => lng('menue.main.changepassword'),
'image' => 'icons/email_edit.png',
'fields' => [
'email_full' => [
'emailaddr' => [
'label' => lng('emails.emailaddress'),
'type' => 'label',
'value' => $result['email_full']

View File

@@ -32,7 +32,7 @@ return [
'title' => lng('emails.quota_edit'),
'image' => 'icons/email_edit.png',
'fields' => [
'email_full' => [
'emailaddr' => [
'label' => lng('emails.emailaddress'),
'type' => 'label',
'value' => $result['email_full']

View File

@@ -44,6 +44,7 @@ return [
'label' => lng('login.password'),
'type' => 'password',
'autocomplete' => 'off',
'mandatory' => true,
'next_to' => [
'admin_password_suggestion' => [
'next_to_prefix' => lng('customer.generated_pwd') . ':',

View File

@@ -39,7 +39,8 @@ return [
],
'destination' => [
'label' => lng('emails.to'),
'type' => 'email'
'type' => 'email',
'mandatory' => true
]
]
]

View File

@@ -118,6 +118,11 @@ return [
]
]
]
],
'buttons' => [
[
'label' => lng('panel.backtooverview')
]
]
]
];