open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

[#4396] Objects API prefill plugin

Open vaszig opened this issue 6 months ago • 1 comments

Closes #4396 partially

Changes

  • Added necessary model field prefill_options to the FormVariable model (for storing all the needed configuration) and updated constraints according to new field
  • Moved public prefill functions to prefill.service
  • Added prefill functionality for ObjectsAPI

Checklist

Check off the items that are completed or not relevant.

  • Impact on features

    • [x] Checked copying a form
    • [x] Checked import/export of a form
    • [x] Config checks in the configuration overview admin page
    • [x] Problem detection in the admin email digest is handled
  • Release management

    • [x] I have labelled the PR as "needs-backport" accordingly
  • I have updated the translations assets (you do NOT need to provide translations)

    • [x] Ran ./bin/makemessages_js.sh
    • [x] Ran ./bin/compilemessages_js.sh
  • Commit hygiene

    • [x] Commit messages refer to the relevant Github issue
    • [x] Commit messages explain the "why" of change, not the how

vaszig avatar Aug 26 '24 11:08 vaszig