fixed
This commit is contained in:
parent
ac72edf1b7
commit
4abf1c0699
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue