Added textarea label for AutosuggestTextbox component

• Added:
- textarea label for AutosuggestTextbox component
This commit is contained in:
mgabdev 2020-06-15 13:29:41 -04:00
parent 286b51008c
commit c7fe242626
2 changed files with 6 additions and 0 deletions

View File

@ -259,7 +259,11 @@ export default class AutosuggestTextbox extends ImmutablePureComponent {
return (
<Fragment>
<div className={textareaContainerClasses}>
<label htmlFor={id} className={_s.visiblyHidden}>
{placeholder}
</label>
<Textarea
id={id}
inputRef={this.setTextbox}
className={textareaClasses}
disabled={disabled}

View File

@ -324,6 +324,7 @@ class ComposeForm extends ImmutablePureComponent {
onPaste={onPaste}
autoFocus={shouldAutoFocus}
small={shouldCondense}
id='comment-composer'
/>
<div className={actionsContainerClasses}>
@ -414,6 +415,7 @@ class ComposeForm extends ImmutablePureComponent {
onPaste={onPaste}
autoFocus={shouldAutoFocus}
small={shouldCondense}
id='main-composer'
/>
{