feat: make theme color, font, content width, border radius fields required in Profile form
This commit is contained in:
parent
382dc4aa03
commit
2123cec88a
@ -156,7 +156,8 @@ public function form(Schema $schema): Schema
|
||||
'indigo' => '🌌 Indigo (Ungu Gelap)',
|
||||
])
|
||||
->placeholder('Pilih warna tema')
|
||||
->native(false),
|
||||
->native(false)
|
||||
->required(),
|
||||
|
||||
Select::make('settings.font')
|
||||
->label('Jenis Huruf (Font)')
|
||||
@ -168,7 +169,8 @@ public function form(Schema $schema): Schema
|
||||
'Montserrat' => 'Montserrat (Classic)',
|
||||
'Lexend' => 'Lexend (Readable)',
|
||||
])
|
||||
->native(false),
|
||||
->native(false)
|
||||
->required(),
|
||||
|
||||
Select::make('settings.content_width')
|
||||
->label('Lebar Konten')
|
||||
@ -176,7 +178,8 @@ public function form(Schema $schema): Schema
|
||||
'full' => '↔️ Lebar Penuh (Full)',
|
||||
'centered' => '🏢 Terpusat (Centered)',
|
||||
])
|
||||
->native(false),
|
||||
->native(false)
|
||||
->required(),
|
||||
|
||||
Select::make('settings.border_radius')
|
||||
->label('Radius Sudut (Border)')
|
||||
@ -186,7 +189,8 @@ public function form(Schema $schema): Schema
|
||||
'lg' => '🎉 Rounded (Cheerful)',
|
||||
'xl' => '🎈 Extra Round',
|
||||
])
|
||||
->native(false),
|
||||
->native(false)
|
||||
->required(),
|
||||
|
||||
Toggle::make('settings.top_navigation')
|
||||
->label('Navigasi Atas (Top Nav)')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user