_qRtrenH&5367
_qRtrenH&5367
FFilament
Created by _qRtrenH&5367 on 4/13/2024 in #❓┊help
Spatie Tags always creates new tag in form
I have a form for a model resource, where I use this Input:
Forms\Components\SpatieTagsInput::make('tags')
->type('teacherTag')
Forms\Components\SpatieTagsInput::make('tags')
->type('teacherTag')
My problem is that it not only doesn't suggest anything (this can be solved with adding ->suggestions(Tag::where('type', 'teacherTag')->pluck('name')->toArray())) but it always creates a new tag which completly defies the idea of tags. My top priority is not to create tags in the form but to attach existing ones. How could that be done?
11 replies
FFilament
Created by _qRtrenH&5367 on 1/5/2024 in #❓┊help
Upgrade to 3.1 is problematic
I wanted to upgrade from version 3 to 3.1 to use the new features. But when I run
composer require filament/filament:"^3.1" -W
composer require filament/filament:"^3.1" -W
I get the following error:
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- filament/filament[v3.1.0-alpha1, ..., 3.x-dev] require illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires filament/filament ^3.1 -> satisfiable by filament/filament[v3.1.0-alpha1, ..., 3.x-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- filament/filament[v3.1.0-alpha1, ..., 3.x-dev] require illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires filament/filament ^3.1 -> satisfiable by filament/filament[v3.1.0-alpha1, ..., 3.x-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
What do I need to do to install the new version? Can anyone help me?
6 replies
FFilament
Created by _qRtrenH&5367 on 12/13/2023 in #❓┊help
Problem with opt out tenancy
No description
2 replies