From 8471cbd0449ff46a6a8294edc8dc684591373261 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 29 Dec 2024 13:27:44 +0530 Subject: [PATCH] fix: allow editing grid row fields layout --- frontend/src/components/Controls/Grid.vue | 40 +++--- .../Controls/GridRowFieldsModal.vue | 125 ++++++++++++++++++ .../src/components/Controls/GridRowModal.vue | 62 +++++++++ frontend/src/components/FieldLayout.vue | 1 + 4 files changed, 206 insertions(+), 22 deletions(-) create mode 100644 frontend/src/components/Controls/GridRowFieldsModal.vue create mode 100644 frontend/src/components/Controls/GridRowModal.vue diff --git a/frontend/src/components/Controls/Grid.vue b/frontend/src/components/Controls/Grid.vue index 14a54c9c..0033d5b1 100644 --- a/frontend/src/components/Controls/Grid.vue +++ b/frontend/src/components/Controls/Grid.vue @@ -197,21 +197,14 @@ - - - + v-model:showGridRowFieldsModal="showGridRowFieldsModal" + :index="index" + :data="row" + :doctype="doctype" + /> @@ -236,21 +229,21 @@