Browse Source

wip(gui-v2): submit form logic

pull/3030/head
Wing-Kam Wong 2 years ago
parent
commit
18dfe80df5
  1. 6
      packages/nc-gui-v2/components/smartsheet/Form.vue

6
packages/nc-gui-v2/components/smartsheet/Form.vue

@ -46,6 +46,7 @@ const {
paginationData,
formattedData: data,
loadFormView,
insertRow,
formColumnData,
formViewData,
changePage,
@ -77,7 +78,10 @@ const formView = ref({})
function updateView() {}
function submitForm() {}
function submitForm() {
// TODO: validation
insertRow(formState)
}
function isDbRequired(column: Record<string, any>) {
if (hiddenCols.includes(column.fk_column_id)) {

Loading…
Cancel
Save