openNewForm function presentation
Last updated: 2026-03-04T23:21:38.422Z
Metrics
LOC: 12
Complexity: 1
Params: 0
Signature
openNewForm()
Source Code
function openNewForm() {
setEditingForm({
id: crypto.randomUUID(),
name: t("newFormTitle"),
urlPattern: "*",
fields: {},
templateFields: [],
createdAt: Date.now(),
updatedAt: Date.now(),
});
setIsNew(true);
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| t | calls |
No incoming dependencies.