mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-07-05 02:59:20 +00:00
Added Input objects
This commit is contained in:
15
src/AdminPanel/Form/ChoiceInput.php
Normal file
15
src/AdminPanel/Form/ChoiceInput.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace AdminPanel\Form;
|
||||
|
||||
class ChoiceInput extends TextInput
|
||||
{
|
||||
public function getOptions(): array
|
||||
{
|
||||
return array(
|
||||
'label',
|
||||
'value',
|
||||
'choices'
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user