This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/src/elements/forms/helpers.ts
Jens L 2b9dc4ccd8
web/admin: fix circular dependency (#6740)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-09-03 03:12:20 +02:00

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,
) {}
}