Antea
Antea
FFilament
Created by Antea on 8/27/2024 in #❓┊help
Infolist TextEntry with enum casted attribute
thanks
5 replies
FFilament
Created by hosmar27 on 8/22/2024 in #❓┊help
Dynamically change Form component in Repeater
->schema(function ($record) {

$userCargoFormulario = DB::table('user_cargo_formulario as ucf')
->join('cargo_formulario as cf','ucf.cargo_formulario_id','=','cf.id')
->where('ucf.user_id', auth()->id())->get('tipo_id')->toArray();

// dd($userCargoFormulario);

if($userCargoFormulario[0]->tipo_id == 3){
return [ TextInput::make('resposta')] ; //change to array here
}
})
->schema(function ($record) {

$userCargoFormulario = DB::table('user_cargo_formulario as ucf')
->join('cargo_formulario as cf','ucf.cargo_formulario_id','=','cf.id')
->where('ucf.user_id', auth()->id())->get('tipo_id')->toArray();

// dd($userCargoFormulario);

if($userCargoFormulario[0]->tipo_id == 3){
return [ TextInput::make('resposta')] ; //change to array here
}
})
5 replies
FFilament
Created by hosmar27 on 8/22/2024 in #❓┊help
Dynamically change Form component in Repeater
It needs an array of components instead of returning just TextInput
5 replies
FFilament
Created by Antea on 8/14/2024 in #❓┊help
Sticky header inconsistency with logo
ah its because of the debugbar taking up space
5 replies
FFilament
Created by Antea on 8/14/2024 in #❓┊help
Sticky header inconsistency with logo
I have no custom css
5 replies
FFilament
Created by Antea on 8/7/2024 in #❓┊help
Setting repeater values from action
thanks
5 replies
FFilament
Created by Antea on 8/6/2024 in #❓┊help
programmatically filling in multiple Repeater entries on create form
nvm its $repeater->default([ ['field' => 'value'] ])
4 replies