RelationManager Create Action shows black overlay
public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('name')
->required()
->label('Authorization name')
->hint('Access reference')
->rule(function ($get) {
return Rule::unique('org_library_access_authorizations', 'name')
->whereNull('deleted_at')
->where('organization_id', $this->ownerRecord->id)
->ignore($get('id'));
}),
TextInput::make('api_endpoint_url')
->url()
->required()
->label('API Endpoint URL')
->dehydrateStateUsing(fn($state) => rtrim($state, '/') . '/')
->hint('Must start with http and end with /'),
TextInput::make('shared_key')
->required()
->hint('Used to sign HMAC code'),
TextInput::make('content_library_identifier')
->required()
->hint('Referenced content library'),
Toggle::make('is_active')
->default(true)
->label('Active')
]);
}
}
public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('name')
->required()
->label('Authorization name')
->hint('Access reference')
->rule(function ($get) {
return Rule::unique('org_library_access_authorizations', 'name')
->whereNull('deleted_at')
->where('organization_id', $this->ownerRecord->id)
->ignore($get('id'));
}),
TextInput::make('api_endpoint_url')
->url()
->required()
->label('API Endpoint URL')
->dehydrateStateUsing(fn($state) => rtrim($state, '/') . '/')
->hint('Must start with http and end with /'),
TextInput::make('shared_key')
->required()
->hint('Used to sign HMAC code'),
TextInput::make('content_library_identifier')
->required()
->hint('Referenced content library'),
Toggle::make('is_active')
->default(true)
->label('Active')
]);
}
}
1 Reply
@Mohammed Ouda did you fix this ? i got the same problem