Array on textinput
I have an array like ['amount' => '23'] that is set to the planned property. Is it possible to set this on a TextInput? I'm thinking of something like planned['amount']
Solution:Jump to solution
Maybe in the field's hydrated/dehydrated lifecycle?
https://filamentphp.com/docs/3.x/forms/advanced#field-lifecycle...
3 Replies
For context this is coming in this way because I'm implementing the wireable interface on an attribute that is cast to a Money class
Solution
Maybe in the field's hydrated/dehydrated lifecycle?
https://filamentphp.com/docs/3.x/forms/advanced#field-lifecycle
Thanks! that worked