FFilament•Created by Rinkesh on 6/22/2024 in #❓┊help Textarea and select field disabled() issue
Checkbox::make('same_addr')
->label('Same as Current Address?')
->afterStateUpdated(
fn (Set $set, ?string $state, Get $get) =>
[
$set('per_address', ($state)? $get('cur_address'):'' ),
]
)
->live(),