createInputRow(
  "Form",
  "Test",
  [
    {
      id: "Deputy",
      label: "معاونت",
      inline: true,
      size: 5,
      type: "lookup",
      siteUrl: "/shaparak",
      listName: "Deputy",
      valueField: "Id",
      textField: "Title",
      saveId: true,
      onchangefunction: () => {
        debugger;
        setLookupOptions(
          "ManagementId",
          `DeputyId eq ${document.getElementById("DeputyId").value}`
        );
      },
    },
    {
      id: "Management",
      label: "مدیریت",
      type: "text",
      inline: true,
      size: 5,
      type: "lookup",
      siteUrl: "/shaparak",
      listName: "Management",
      valueField: "Id",
      textField: "Title",
      saveId: true,
      filter: "Id eq 0",
    },
  ],
  10,
  10
);
