From 096730e550cb9bc688c22e8d41dccdbebf5077a9 Mon Sep 17 00:00:00 2001 From: Eric Marchand <129385512+e-marchand@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:30:44 +0100 Subject: [PATCH] Update ChoiceListFromCurrentEntityData.md --- docs/ChoiceListFromCurrentEntityData.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/ChoiceListFromCurrentEntityData.md b/docs/ChoiceListFromCurrentEntityData.md index 7728a1c..cc83f7a 100644 --- a/docs/ChoiceListFromCurrentEntityData.md +++ b/docs/ChoiceListFromCurrentEntityData.md @@ -9,8 +9,11 @@ ## Database content -For entities, an object field must contain the choice list +For entities, an object field must contain the choice list as key value +- key is the display value +- value is the value send to server and receive in database method "On Mobile App Action" +We could fill using an object ```4d var $entity: cs.ATable @@ -20,6 +23,7 @@ $entity.aChoiceObjectField:=New Object(\ "Two"; 2\ ) ``` + > 🚧 show some other 4D code to fill it (if possible) ## Input control definition