Prefill field with Get

In an TextInput is it possible to prefill the value with for example $get(../../product_name) ?
Solution
Not in the way you’re probably thinking. What you can probably do is $set it from the other field.

Input::make()
    ->afterStateHydrated(fn(Set $set, $state) => $set(‘other_field’, value based on $state))
Was this page helpful?