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 @@ + diff --git a/frontend/src/components/Controls/GridRowModal.vue b/frontend/src/components/Controls/GridRowModal.vue new file mode 100644 index 00000000..69351f22 --- /dev/null +++ b/frontend/src/components/Controls/GridRowModal.vue @@ -0,0 +1,62 @@ + + + + + + + + {{ __('Editing Row {0}', [index + 1]) }} + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/components/FieldLayout.vue b/frontend/src/components/FieldLayout.vue index 61f4630d..95408634 100644 --- a/frontend/src/components/FieldLayout.vue +++ b/frontend/src/components/FieldLayout.vue @@ -81,6 +81,7 @@ v-model="data[field.name]" :fields="field.fields" :gridFields="field.gridFields" + :doctype="field.options" />