Skip to main content
Version: Next

repoPickerValidation()

Home > @backstage/plugin-scaffolder > repoPickerValidation

The validation function for the repoUrl that is returned from the field extension. Ensures that you have all the required fields filled for the different providers that exist.

Signature:

repoPickerValidation: (value: string, validation: FieldValidation, context: {
apiHolder: ApiHolder;
}) => void

Parameters

Parameter

Type

Description

value

string

validation

FieldValidation

context

{ apiHolder: ApiHolder; }

**Returns:**

void