mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 21:24:44 +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
|
||||
->schema([
|
||||
TextInput::make('endpoint')->activeUrl()->required(),
|
||||
TextInput::make('description')->nullable(),
|
||||
CheckboxList::make('events')->lazy()->options(
|
||||
fn () => WebhookConfiguration::filamentCheckboxList()
|
||||
)
|
||||
TextInput::make('endpoint')
|
||||
->activeUrl()
|
||||
->required(),
|
||||
TextInput::make('description')
|
||||
->required(),
|
||||
CheckboxList::make('events')
|
||||
->lazy()
|
||||
->options(fn () => WebhookConfiguration::filamentCheckboxList())
|
||||
->searchable()
|
||||
->bulkToggleable()
|
||||
->columns(3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user