Skip to content

TimePicker component should update time when new value prop is passed to the TimePicker component #1319

@coding-my-passion

Description

@coding-my-passion

Description

TimePicker component should update the time value when new value prop is passed to the component.
I think we need to componentDidUpdate method to check prevProps value with current props value and it if different then update the state value with new props value.

Versions

fundamental-react:
0.13.1

NOTE: Where applicable, please include uncropped screen captures.

DISCLAIMER:
After triaging an issue, the fundamental-react team will see if it can be reproduced or confirmed. If more information is needed, the fundamental-react team will contact the author. Any issues awaiting responses from the author for more than 7 days will be closed. The author can re-open the issue at a later time if they can present the requested information.

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