mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 19:04:45 +02:00
Make description required. (#667)
This commit is contained in:
parent
f3de185508
commit
7acc8782bb
@ -26,11 +26,14 @@ class WebhookResource extends Resource
|
|||||||
{
|
{
|
||||||
return $form
|
return $form
|
||||||
->schema([
|
->schema([
|
||||||
TextInput::make('endpoint')->activeUrl()->required(),
|
TextInput::make('endpoint')
|
||||||
TextInput::make('description')->nullable(),
|
->activeUrl()
|
||||||
CheckboxList::make('events')->lazy()->options(
|
->required(),
|
||||||
fn () => WebhookConfiguration::filamentCheckboxList()
|
TextInput::make('description')
|
||||||
)
|
->required(),
|
||||||
|
CheckboxList::make('events')
|
||||||
|
->lazy()
|
||||||
|
->options(fn () => WebhookConfiguration::filamentCheckboxList())
|
||||||
->searchable()
|
->searchable()
|
||||||
->bulkToggleable()
|
->bulkToggleable()
|
||||||
->columns(3)
|
->columns(3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user