F
Filament5mo ago
SET

Dynamic form with TextInput's

I have a question here https://github.com/filamentphp/filament/issues/11029 And I have answer, but... For some reason, the code only works if I set Select with default value.
GitHub
Dynamic TextInput don't fill · Issue #11029 · filamentphp/filament
Package filament/filament Package Version 3.2.11 Laravel Version 10.42.0 Livewire Version No response PHP Version 8.2.8 Problem description I have a custom page with dynamic form. When I click on s...
3 Replies
Lara Zeus
Lara Zeus5mo ago
as zap mentioned >$set() in afterStateUpdated() is probably what you're looking for. also can you share some code, what you did so far you can read more about reactivity and how to use afterStateUpdated https://filamentphp.com/docs/3.x/forms/advanced#the-basics-of-reactivity
SET
SET5mo ago
This code does not work too Bump Bump