Can change user email address

This commit is contained in:
2021-07-13 17:10:27 +02:00
parent 322969daa7
commit 378808528e
4 changed files with 81 additions and 1 deletions

View File

@ -28,6 +28,7 @@ export interface TextInputOptions {
maxLength?: number;
label: string;
type?: string;
validateInput?: (value: string) => boolean;
}
interface AppDiagProvState {
@ -175,6 +176,9 @@ export class ApplicationDialogsProvider extends React.Component<
if (options.maxLength && value.length > options.maxLength) return false;
if (options.validateInput && !options.validateInput(value))
return false;
return true;
}