neverender24
Placeholder badge color not working
/* pending /
.bg-yellow-c-100 {
background-color: rgb(254 249 195) !important;
}
.fill-yellow-c-400 {
background-color: rgb(250 204 21) !important;
}
.text-yellow-c-600 {
background-color: rgb(202 138 4) !important;
}
/ completed /
.bg-green-c-100 {
background-color: rgb(220 252 231) !important;
}
.fill-green-c-400 {
background-color: rgb(74 222 128) !important;
}
.text-green-c-600 {
background-color: rgb(22 163 74) !important;
}
/ pending */
.bg-gray-c-100 {
background-color: rgb(243 244 246) !important;
}
.fill-gray-c-400 {
background-color: rgb(156 163 175) !important;
}
.text-gray-c-600 {
background-color: rgb(75 85 99) !important;
}
To make it work I just make some custom in theme
7 replies
->extraAttribute not working on TextInput
I don't seem to have problem with this.
Forms\Components\TextInput::make('name')
->required()
->extraAttributes(['class' => 'sample'])
->maxLength(255),
In my theme.css
.sample {
background: red !important;
}
seems to work with me
67 replies
Select box is flickering when loading/refreshing the page
Select::make('transport_id')
->label('Transport')
->relationship('transport', 'description')
->createOptionForm([
TextInput::make('description')
->required()
])
->options(Transport::all()->pluck('description', 'id')->toArray())
->searchable()
6 replies