Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Add aria-multiline attr to DraftEditor #1295

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/component/base/DraftEditor.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ class DraftEditor extends React.Component {
aria-expanded={readOnly ? null : this.props.ariaExpanded}
aria-haspopup={readOnly ? null : this.props.ariaHasPopup}
aria-label={this.props.ariaLabel}
aria-multiline={this.props.ariaMultiline}
aria-owns={readOnly ? null : this.props.ariaOwneeID}
autoCapitalize={this.props.autoCapitalize}
autoComplete={this.props.autoComplete}
Expand Down
1 change: 1 addition & 0 deletions src/component/base/DraftEditorProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export type DraftEditorProps = {
ariaExpanded?: boolean,
ariaHasPopup?: boolean,
ariaLabel?: string,
ariaMultiline?: boolean,
ariaOwneeID?: string,

webDriverTestID?: string,
Expand Down