Skip to content

Client side Validation bug with BooleanSwitch  #118

@ned2

Description

@ned2

When using daq.BooleanSwitch() in a callback, I see the bellow browser console error. The component functions as expected, but have not tested whether persistence works for the component.

Warning: Failed prop type: Invalid prop `persisted_props[0]` of value `on` supplied to `t`, expected one of ["value"].

If I set persisted_props to ["on"] to try and workaround, then I get the following console error:

Warning: Failed prop type: Invalid prop `persisted_props[0]` of value `value` supplied to `t`, expected one of ["on"].

Disabling persistence by setting persisted_props to [] does however remove the error from the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions