renatoalvarez
Explore posts from serversspatie tags column arent serchable
Hi, I'm trying to use ->searchable in a spatie tags column but it is not possible, im getting this error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tags' in 'where clause'
SpatieTagsColumn::make('tags')
->searchable()
I can create and view the tags correctly. what could I do?
1 replies
Share components between Resources
Hi, I would like to config my Form and Table components in different Resources to avoid repeated code.
Form and Table will have these standar components and their own components as usual. How could achive that?
Thanks in advance
3 replies
Error when installing Spatie Settings
Hi, Im trying to install with: composer require filament/spatie-laravel-settings-plugin:"^2.0" but I get this error:
Problem 1
- filament/spatie-laravel-settings-plugin 2.x-dev requires filament/filament 2.x-dev -> found filament/filament[2.x-dev] but the package is fixed to v2.17.38 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- filament/spatie-laravel-settings-plugin v2.4.42 requires filament/filament v2.4.42 -> found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.
- filament/spatie-laravel-settings-plugin v2.4.43 requires filament/filament v2.4.43 -> found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.
- filament/spatie-laravel-settings-plugin v2.4.44 requires filament/filament v2.4.44 -> found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.
- filament/spatie-laravel-settings-plugin v2.4.45 requires filament/filament v2.4.45 -> found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.
......
2 replies
Load spinner in relation manager
charge spinner in relationship manager
Hi, it is possible to have a load spinner when clicked on a relationship manager? I found that in some cases it takes several seconds to load data and there is no feedback to the user.
tnx
6 replies
ignoreRecord: true
Hello, I'm trying to use ignoreRecord: true in a relation manager but it is ignored
Forms\Components\Select::make('estudiante_id')
->required()
->debounce(500)
->columnSpanFull()
->label('Estudiante')
->inlineLabel('false')
->placeholder('Seleccione o busque a un estudiante')
->relationship('estudiante', 'carnet_nombres_apellidos')
->searchable(['carnet', 'nombres', 'apellidos'])
->unique(ignoreRecord: true)
10 replies