docs
docs copied to clipboard
Value for radio not sent in hook/flow payload
Describe the Bug
When creating a new item, if a Radio button's value is left unchanged (set to default), the payload in the Flow hook does not contain the field at all!
Related issue: https://github.com/directus/directus/issues/24660
To Reproduce
- Set a default value on a Radio field in a collection
- Create a Directus Flow, for
action items.createfor the particular collection - Create new Item for that collection. Do not change the Radio field's value at all.
- The Flow payload does not consist of the Radio field at all
The expectation is: a 'configuration' (default value being set for a field) done entirely within Directus should get implemented properly (properly = work first-class throughout Directus), without having to take into account how the DB deals with it (because that's sort of the whole point of Directus) [as indicated in responses to other similar issues]
Directus Version
v11.11.0
Hosting Strategy
Self-Hosted (Docker Image)
Database
No response