Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Input without setProps doesn't get updated #415

Open
@novitk

Description

@novitk

It looks to me like an Input that doesn't have a setProps (i.e. not an Input dependency) will not get updated state or props:

    componentWillReceiveProps(nextProps) {
        if (this.props.setProps) {
            this.props = nextProps;
            if (this.props.debounce) {
                this.setState({
                    value: nextProps.value,
                });
            }
        }
    }

Attached is a small repro.
inputUpdate.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    dash-type-bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions