restore mandatory field on domain-formfields; add translated require message and correct error-placement of the message
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -140,7 +140,8 @@ return [
|
||||
'type' => 'checkbox',
|
||||
'values' => $ipsandports,
|
||||
'value' => explode(',', Settings::Get('system.defaultip')),
|
||||
'is_array' => 1
|
||||
'is_array' => 1,
|
||||
'mandatory' => true
|
||||
],
|
||||
'selectserveralias' => [
|
||||
'label' => lng('admin.selectserveralias'),
|
||||
|
||||
@@ -154,7 +154,8 @@ return [
|
||||
'type' => 'checkbox',
|
||||
'values' => $ipsandports,
|
||||
'value' => $usedips,
|
||||
'is_array' => 1
|
||||
'is_array' => 1,
|
||||
'mandatory' => true
|
||||
],
|
||||
'selectserveralias' => [
|
||||
'label' => lng('admin.selectserveralias'),
|
||||
|
||||
Reference in New Issue
Block a user