Skip to content

Commit 898ca33

Browse files
committed
Fix invalid key for select input
1 parent 018af27 commit 898ca33

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

application/forms/DatabaseConfigForm.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ protected function assemble(): void
1717
'select',
1818
'resource',
1919
[
20-
'label' => $this->translate('Database'),
21-
'options' => array_merge(
20+
'label' => $this->translate('Database'),
21+
'options' => array_merge(
2222
['' => sprintf(' - %s - ', $this->translate('Please choose'))],
2323
array_combine($dbResources, $dbResources)
2424
),
25-
'disable' => [''],
26-
'required' => true,
27-
'value' => ''
25+
'disabledOptions' => [''],
26+
'required' => true,
27+
'value' => ''
2828
]
2929
);
3030

0 commit comments

Comments
 (0)