Skip to content

Add a toggle for Boolean props in DevTools #19662

@gaearon

Description

@gaearon

We previously had a feature where Boolean props would show a checkbox to the left of them in the DevTools pane. It was removed when the JSON editor was added, but I think we should add it back. It should work like this:

  1. If the value is a boolean, the checkbox should show up to the left of true / false value
  2. If it's no longer a boolean (e.g. gets edited manually), the checkbox disappears

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions