how to Get $get value from another text input
I want get value for another textinput. My code TextInput::make('stok')->default(fn(Get $get) => $get('jenis_barang_id')) how to show $get('jenis_barang_id);
In my textInput i want to query in default()
10 Replies
you also need to add
live()
Yes, but still null no value .. to show in my text input
Show more code formatted correctly in markdown. Read #✅┊rules how to do that
This my code
Ow god 🤦♂️ please no screenshots. Read #✅┊rules !
Sorry
Gist
help GET $get in filament
help GET $get in filament. GitHub Gist: instantly share code, notes, and snippets.
My code
this might help, (not been tested).
More here: https://filamentphp.com/docs/3.x/forms/advanced#generating-a-slug-from-a-title
Work $set thanks. Buat i wonder how to show $get() . In default().