property editor

This commit is contained in:
vabene1111
2023-11-29 22:04:23 +01:00
parent 0a0e3a48c3
commit f6ed49b5c4
4 changed files with 70 additions and 26 deletions

View File

@ -738,7 +738,13 @@ export class Models {
},
fdc_id: {
form_field: true,
type: "text",
type: "choice",
options: [
{ value: 1008, text: "Calories (1008)" },
{ value: 1005, text: "Carbohydrates (1005)" },
{ value: 1003, text: "Protein (1003)" },
{ value: 1004, text: "Fat (1004)" },
],
field: "fdc_id",
label: "FDC_ID",
help_text: "FDC_ID_help",