Skip to content

Value for radio not sent in hook/flow payload #449

@arladmin

Description

@arladmin

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: directus/directus#24660

To Reproduce

  1. Set a default value on a Radio field in a collection
  2. Create a Directus Flow, for action items.create for the particular collection
  3. Create new Item for that collection. Do not change the Radio field's value at all.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions