Skip to content

Custom Fields mandatory field UI/UX bug #6520

@Holmus

Description

@Holmus

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

When you have more than 1 mandatory custom field, you can save the changes you made to the feature flag custom fields without adding any data in the last mandatory custom field. This is purely a visual bug from what I can tell but it is very confusing.

Steps To Reproduce

Pre-requisites

  1. Create at least two mandatory custom fields.

On Create

  1. Create a feature flag only filling in the data for one of the 2 mandatory fields
  2. Notice that the button to the create the feature is clickable, whereas it should be disabled (as it was before the first mandatory field was filled in)

On Update

  1. Create a feature flag filling in data for both mandatory custom fields.
  2. Edit the feature flag and remove the data for the last mandatory custom field.
  3. Save. It looks like the save is successful.

Expected behaviour

  1. Create at least two mandatory custom fields.
  2. Create a feature flag filling in data for both mandatory custom fields.
  3. Edit the feature flag and remove the data for the last mandatory custom field.
  4. You are unable to save.

Screenshots

Screen.Recording.2026-01-12.at.17.09.31.mov

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions