Typedef

LinkFormValidatorCallback (link/ui)

@ckeditor/ckeditor5-link/src/ui/linkformview

typedeffunction

Callback used by LinkFormView to check if passed form value is valid.

* If `undefined` is returned, it is assumed that the form value is correct and there is no error.
* If string is returned, it is assumed that the form value is incorrect and the returned string is displayed in the error label

Filtering

Parameters

form : LinkFormView

Returns

string | undefined