2b9dc4ccd8
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
10 lines
330 B
TypeScript
10 lines
330 B
TypeScript
import { HorizontalFormElement } from "@goauthentik/app/elements/forms/HorizontalFormElement";
|
|
|
|
export class PreventFormSubmit {
|
|
// Stub class which can be returned by form elements to prevent the form from submitting
|
|
constructor(
|
|
public message: string,
|
|
public element?: HorizontalFormElement,
|
|
) {}
|
|
}
|