Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Reset intent on Control is not cleared when updateOn="blur" #982

Closed
@kabbi

Description

@kabbi

The Problem

Control component does not clear reset intent, when updateOn (or validateOn) is set to blur. This forces the input to always show the initial value, and it becomes unchangeable.

Seems to be due to these lines of code.

Steps to Reproduce

  1. Issue reset event on control's model
  2. Render Control.text with updateOn="blur"

Expected Behavior

Input text can be changed

Actual Behavior

Input text cannot be changed

Reproducible Code Example

https://codesandbox.io/s/1okpx1z4z7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions