mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
6cca67d9b7
commit
9f63990ee8
@@ -435,7 +435,7 @@ class Forms extends Component implements HasForms
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'scheduled' => 'Scheduled',
|
||||
'published' => 'Published'
|
||||
'published' => 'Published',
|
||||
])
|
||||
->default('draft'),
|
||||
]),
|
||||
@@ -450,12 +450,12 @@ class Forms extends Component implements HasForms
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'scheduled' => 'Scheduled',
|
||||
'published' => 'Published'
|
||||
'published' => 'Published',
|
||||
])
|
||||
->descriptions([
|
||||
'draft' => 'Is not visible.',
|
||||
'scheduled' => 'Will be visible.',
|
||||
'published' => 'Is visible.'
|
||||
'published' => 'Is visible.',
|
||||
])
|
||||
->default('draft'),
|
||||
]),
|
||||
@@ -493,7 +493,7 @@ class Forms extends Component implements HasForms
|
||||
->options([
|
||||
'draft' => 'Draft',
|
||||
'scheduled' => 'Scheduled',
|
||||
'published' => 'Published'
|
||||
'published' => 'Published',
|
||||
])
|
||||
->default('draft')
|
||||
->disableOptionWhen(fn (string $value): bool => $value === 'published'),
|
||||
|
||||
Reference in New Issue
Block a user