BLXTR
BLXTR
FFilament
Created by BLXTR on 12/20/2023 in #❓┊help
Help with filament , How to get data from selected to show only to input text
Hello, can someone help me , how can i show the data in this selected multiple relationship to input text only. Select::make('salary_name_id') ->required() ->relationship('salary_name', 'name') ->searchable() ->preload() ->live() ->afterStateUpdated(function (Set $set) { $set('salary_step_id', null); $set('salary_value_id', null); }) Select::make('salary_step_id') ->required() ->options(fn (Get $get): Collection => Salarystep::query() ->where('salary_name_id', $get(salary_name_id')) ->pluck('name', 'id')) ->searchable() ->preload(), TextInput::make(''salary_value_id_id') ->required(),
4 replies
FFilament
Created by BLXTR on 12/18/2023 in #❓┊help
Cant fetch data
No description
2 replies