Skip to content

Commit 551bd98

Browse files
Revert back to using defaultValue
1 parent 9ad640d commit 551bd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/webPartTitle/WebPartTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class WebPartTitle extends React.Component<IWebPartTitleProps, {}> {
5454
<div className={styles.webPartTitle} style={{ color: color }}>
5555
{
5656
this.props.displayMode === DisplayMode.Edit && (
57-
<textarea placeholder={this.props.placeholder ? this.props.placeholder : strings.WebPartTitlePlaceholder} aria-label={strings.WebPartTitleLabel} onChange={this._onChange} value={this.props.title} />
57+
<textarea placeholder={this.props.placeholder ? this.props.placeholder : strings.WebPartTitlePlaceholder} aria-label={strings.WebPartTitleLabel} onChange={this._onChange} defaultValue={this.props.title} />
5858
)
5959
}
6060

0 commit comments

Comments
 (0)