update form layout

This commit is contained in:
Michael Genson
2026-02-26 17:00:54 +00:00
parent d92f7fcdec
commit 9e107cb0ee
2 changed files with 19 additions and 15 deletions

View File

@@ -279,20 +279,9 @@ const formItems = computed<AutoFormItems>(() => [
type: fieldTypes.TEXT,
},
{
section: i18n.t("general.settings"),
cols: 4,
label: i18n.t("data-pages.units.use-abbv"),
varName: "useAbbreviation",
type: fieldTypes.BOOLEAN,
},
{
cols: 4,
label: i18n.t("data-pages.units.fraction"),
varName: "fraction",
type: fieldTypes.BOOLEAN,
},
{
label: i18n.t("data-pages.units.standard-quantity"),
section: i18n.t("data-pages.units.standardization"),
sectionDetails: i18n.t("data-pages.units.standardization-description"),
cols: 2,
varName: "standardQuantity",
type: fieldTypes.NUMBER,
numberInputConfig: {
@@ -303,7 +292,7 @@ const formItems = computed<AutoFormItems>(() => [
},
},
{
label: i18n.t("data-pages.units.standard-unit"),
cols: 10,
varName: "standardUnit",
type: fieldTypes.SELECT,
selectReturnValue: "value",
@@ -342,6 +331,19 @@ const formItems = computed<AutoFormItems>(() => [
},
] as StandardizedUnitTypeOption[],
},
{
section: i18n.t("general.settings"),
cols: 4,
label: i18n.t("data-pages.units.use-abbv"),
varName: "useAbbreviation",
type: fieldTypes.BOOLEAN,
},
{
cols: 4,
label: i18n.t("data-pages.units.fraction"),
varName: "fraction",
type: fieldTypes.BOOLEAN,
},
]);
// ============================================================