directly set _messsage to empty on creation

This commit is contained in:
2023-03-05 16:39:47 +10:00
parent d5093110f7
commit 3b0c7d8388

View File

@@ -122,6 +122,11 @@ export const Form = (
const form = defaultFormObject;
form.controls = controls;
form._loading = false;
form._message = "";
form._messageType = "primary";
form._messageIcon = "";
return form;
};