Skip to content

Commit 5dc135b

Browse files
Merge pull request #1656 from daenur76/issue-1651
Issue #1651. Added placeholder for RichText urls.
2 parents 843bec5 + b06eab6 commit 5dc135b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controls/richText/RichText.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ export class RichText extends React.Component<IRichTextProps, IRichTextState> {
377377
containerClassName: 'ms-dialogMainOverride'
378378
}}>
379379
<TextField label={strings.AddressFieldLabel}
380-
value={this.state.insertUrl !== undefined ? this.state.insertUrl : "https://"}
380+
placeholder="https://"
381+
value={this.state.insertUrl !== undefined ? this.state.insertUrl : ""}
381382
onChange={(e, newValue?: string) => {
382383
this.setState({
383384
insertUrl: newValue

0 commit comments

Comments
 (0)