Browse Source

fix: encode primary key before sending PATCH request

Refs: #9615
pull/9616/head
Nakul Nambiar 2 months ago
parent
commit
9131dcec86
  1. 2
      packages/nc-gui/composables/useData.ts

2
packages/nc-gui/composables/useData.ts

@ -208,7 +208,7 @@ export function useData(args: {
base?.value.id as string, base?.value.id as string,
metaValue?.id as string, metaValue?.id as string,
viewMetaValue?.id as string, viewMetaValue?.id as string,
id, encodeURIComponent(id),
{ {
// if value is undefined treat it as null // if value is undefined treat it as null
[property]: toUpdate.row[property] ?? null, [property]: toUpdate.row[property] ?? null,

Loading…
Cancel
Save