Open marianvlad opened 2 years ago
@marianvlad this one is non-related. But let me help You out on this:
Textarea::make('api_key')
->placeholder('API Key')
->formatStateUsing(fn ($set, $get) => $set('api_key', $get('api_key') ?? ''))
@SebastiaanKloos this one should be closed
I have a textarea input and I want to fill with settings data from database but I can't use default method
Forms\Components\Textarea::make('api_key')->required()->default('api key .....'),