Dynamically change Form component in Repeater
Just want to say that I'm not an expert in php or laravel or filament. Basically I'm doing a quiz, and I'm facing this issue where I want some of the questions to be toggle or just a textInput, this is my current code inside repeater (only the schema):
another example is that if(tipo_id == 3) should return toggle::make('resposta') but this is the error returned:
another example is that if(tipo_id == 3) should return toggle::make('resposta') but this is the error returned:
4 Replies