You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (No)
Requested priority: (Normal)
Describe the issue:
Updating defaultValue of an uncontrolled component doesnot update the value in input. This causes issues in forms with a reset button or some form of external updates. I suppose simialar issue happens with defaultChecked or any other defaults in other components.
React had a similar issue in their native components which was fixed. facebook/react#4618. This issue has a lenghty discussion on possible ways to fix it for their native input component.
Actual behavior:
Changing default value of Textfield should change the value of input.
Expected behavior:
Changing default value of Textfield doesnot change the value of input.
If applicable, please provide a codepen repro:
http://codepen.io/bunny10245/pen/WjrVxp . Open the codepen in debug mode, in chrome, with react developer plugin, to see that although props of Textfield gets updated, the props of react input element doesnot get updated.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!
Bug Report
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (No)
Requested priority: (Normal)
Describe the issue:
Updating defaultValue of an uncontrolled component doesnot update the value in input. This causes issues in forms with a reset button or some form of external updates. I suppose simialar issue happens with defaultChecked or any other defaults in other components.
React had a similar issue in their native components which was fixed. facebook/react#4618. This issue has a lenghty discussion on possible ways to fix it for their native input component.
Actual behavior:
Changing default value of Textfield should change the value of input.
Expected behavior:
Changing default value of Textfield doesnot change the value of input.
If applicable, please provide a codepen repro:
http://codepen.io/bunny10245/pen/WjrVxp . Open the codepen in debug mode, in chrome, with react developer plugin, to see that although props of Textfield gets updated, the props of react input element doesnot get updated.
The text was updated successfully, but these errors were encountered: