Textarea value from api
Hello devs, how can I make it happen I get the textarea populated with value from an api resource?
The textarea does not populate with the returned value.
The textarea does not populate with the returned value.
Textarea::make('public-key')
->live()
->default(function (Get $get) {
if ($get('credential_id') !== null) {
...
return $client?->getSshKeys()?->first()['public_key'];
}
})