Skip to content

TCFormFields.TextInput doesn't update default value from updated prop #294

@maxceem

Description

@maxceem

This comes from the issue in connect-app https://github.com/appirio-tech/connect-app/issues/2448

The situation looks like this:

  • We define the initial value of TCFormFields.TextInput by the value property with the value from the Redux store
  • After we edit TCFormFields.TextInput using keyboard
  • Update value in the Redux store on form submit
  • So the updated value comes to the TCFormFields.TextInput value property, but in some situations, it returns to the initial value which was before editing.

I cannot provide some proper steps to reproduce in isolation from connecta-app. So to reproduce it probably this issue in connect app may help https://github.com/appirio-tech/connect-app/issues/2448

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions