This commit is contained in:
rizky 2024-07-18 03:18:29 -07:00
parent ac72edf1b7
commit 4abf1c0699
3 changed files with 4 additions and 3 deletions

View File

@ -269,7 +269,7 @@ type IForm = { form: any; error: Record<string, string>; fm: FMLocal }
childs: [
{
id: createId(),
dim: { h: "fit", w: "full", hUnit: "px", wUnit: "px" },
dim: { h: "fit", w: "fit", hUnit: "px", wUnit: "px" },
name: "bottom",
type: "item",
childs: [

View File

@ -159,7 +159,7 @@ export const formInit = (fm: FMLocal, props: FMProps) => {
toast.success(
<div className="c-flex c-text-green-700 c-items-center">
<Check className="c-h-4 c-w-4 c-mr-1 " />
Done
Saved
</div>,
{
className: css`

View File

@ -76,8 +76,9 @@ const get_layer = async (
is_pk: v.is_pk,
type: v.db_type || v.type,
optional: v.optional,
default: v.default,
}),
label: k + (v.optional ? "" : " *"),
label: k + (!v.optional && !v.default ? " *" : ""),
checked: v.is_pk,
});
}