Typedef

BookmarkFormValidatorCallback (bookmark/ui)

@ckeditor/ckeditor5-bookmark/src/ui/bookmarkformview

typedeffunction

Callback used by BookmarkFormView 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 : BookmarkFormView

Returns

string | undefined