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

@@ -43,15 +43,18 @@ return [
'select_var' => $pathSelect['select_var'] ?? '',
'value' => $pathSelect['value'],
'note' => $pathSelect['note'] ?? '',
'mandatory' => true
],
'username' => [
'label' => lng('login.username'),
'type' => 'text'
'type' => 'text',
'mandatory' => true
],
'directory_password' => [
'label' => lng('login.password'),
'type' => 'password',
'autocomplete' => 'off'
'autocomplete' => 'off',
'mandatory' => true
],
'directory_password_suggestion' => [
'label' => lng('customer.generated_pwd'),
@@ -61,7 +64,8 @@ return [
],
'directory_authname' => [
'label' => lng('extras.htpasswdauthname'),
'type' => 'text'
'type' => 'text',
'mandatory' => true
]
]
]