fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

TextField throws Textarea react warning in React 15.4.0

Open cliffkoh opened this issue 10 years ago • 1 comments

Bug Report

  • 0.64.0

Describe the issue:

When TextField component is used to render a Textarea, the following warning occurs in console EVEN if a defaultValue was passed to TextField.

Actual behavior:

react-dom.js:18109 Warning: Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components

cliffkoh avatar Nov 23 '16 02:11 cliffkoh

Confirmed. Probably an easy fix.

http://codepen.io/dzearing/pen/ZBEVzw

dzearing avatar Nov 23 '16 06:11 dzearing