open-forms
open-forms copied to clipboard
[#4396] Objects API prefill plugin
Closes #4396 partially
Changes
- Added necessary model field
prefill_options
to theFormVariable
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
- [x] Ran
-
Commit hygiene
- [x] Commit messages refer to the relevant Github issue
- [x] Commit messages explain the "why" of change, not the how