Skip to content

is_quiet prop does not work for switch #803

@AkshatJawne

Description

@AkshatJawne

Description

The is_quiet prop does not work for switch, even though it is listed in the docstring.

Steps to reproduce

Run the following snippet:

from deephaven import ui

my_quiet_switch = ui.switch(is_quiet=True)
my_not_quiet_switch = ui.switch()

Expected results

The first switch should be "quiet", and if the prop is not meant to be there, it should not be in the docstring for switch.py.

Actual results

Both switches appear and act the same.

This prop should not be here as per the Spectrum docs: https://react-spectrum.adobe.com/react-spectrum/Switch.html , but if it is there, it should work like 'is_quiet does in other components.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions