Explorar el Código

using createSendUpdateAction to update selected

namnguyen hace 7 meses
padre
commit
e89e7264a3
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      frontend/taipy-gui/src/components/Taipy/MenuCtl.spec.tsx

+ 3 - 1
frontend/taipy-gui/src/components/Taipy/MenuCtl.spec.tsx

@@ -63,6 +63,9 @@ describe("MenuCtl Component", () => {
                     className: "",
                     inactiveIds: ["id1", "id2"],
                     label: "MenuCtl",
+                    onChange: undefined,
+                    selected: [],
+                    selectedUpdateVars: "",
                     lov: [
                         {
                             children: [],
@@ -87,7 +90,6 @@ describe("MenuCtl Component", () => {
                     ],
                     onAction: "on_action",
                     width: "15vw",
-                    selectedIds: [],
                 },
                 type: "SET_MENU",
             });