ctx.setValue doesn't work for a field of a one-many or many-many subform in a create form

* Describe the bug

In a one-many (or many-many) subform in a create form, I tried to run ctx.setValue on a field, and it doesn’t save.

* Environment

  • NocoBase version: v2.0.29
  • Database type and version: PostgeSQL 17
  • OS: Linux
  • Deployment Methods: Docker
  • Docker image version: nocobase/nocobase:latest

* How To Reproduce

https://a_8hwne7u84ho.v13.demo.nocobase.com/admin/gxpzwd86ai1/view/8234cd533e6

Expected behavior

It’s supposed to create and/or save the field with the value set with ctx.setValue

Screenshots

Thank you for reporting the issue. Please wait while we fix it.