EMMAN
FilamentBreezy Error on Multiple Panel
Are you encountered this error:
Route [filament.student.pages.my-profile] not defined.
AdminPanelProvider:
->plugins([
.....
BreezyCore::make()
->myProfile(
shouldRegisterUserMenu: true,
shouldRegisterNavigation: false,
navigationGroup: 'User Management',
hasAvatars: true,
slug: 'my-profile'
),
StudentPanelProvider
->plugins([
BreezyCore::make()
->myProfile(
shouldRegisterUserMenu: true,
shouldRegisterNavigation: false,
navigationGroup: 'User Management',
hasAvatars: true,
slug: 'my-profile'
),
4 replies
Modal Popup on 'ImageColumn' Click - Table
Good day. It is possible to display a Modal on a click on 'ImageColumn' on table?
CURRENT CODE:
Tables\Columns\ImageColumn::make('requirement_qrcode_path')
->height('80%')
->width('100%')
->getStateUsing(function (RequirementsManagement $record): ?string {
return $record->requirement_qrcode_path ?? '';
})
->extraImgAttributes([
'img' => 'src'
]),
4 replies
REMOVE DELAY WHILE TYPING ON LIVE() and AFTERSTATEUPDATED()
Forms\Components\TextInput::make('firstname')
->required(true)
->maxLength(50)
->label('First Name')
->placeholder('First Name')
->live()
->afterStateUpdated(fn ($state, callable $set, $get) => $set('fullname', static::generateFullName($state, $get('middlename'), $get('lastname'), $get('extensionname')))),
how can i remove the delay while typing on textinput on live() and ->afterStateUpdated()
how can i remove the delay while typing on textinput on live() and ->afterStateUpdated()
9 replies
HIDING A FORM TEXTBOX ON 'CREATE' AND EDIT MODAL, NOT ON VIEW MODAL
Forms\Components\TextInput::make('fullname')->placeholder('Fullname')->unique(Advisers::class, 'fullname', ignoreRecord: true)
How can I hide the fullname textbox on the create and edit modals, but not on the view modal? I'm using Filament v3. TY.
2 replies