Skip to content

Commit b06eab6

Browse files
committed
Issue #1651. Added placeholder for RichText urls.
1 parent 4b2a79c commit b06eab6

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)