Skip to content

Commit 6993923

Browse files
author
Piotr Siatka
committed
#371 Fix missing required field label.
1 parent 893e032 commit 6993923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/peoplepicker/PeoplePickerComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export class PeoplePicker extends React.Component<IPeoplePickerProps, IPeoplePic
187187

188188
const peoplepicker = (
189189
<div id="people" className={`${styles.defaultClass} ${this.props.peoplePickerWPclassName ? this.props.peoplePickerWPclassName : ''}`}>
190-
{this.props.titleText && <Label>{this.props.titleText}</Label>}
190+
{this.props.titleText && <Label required={this.props.isRequired}>{this.props.titleText}</Label>}
191191

192192
<NormalPeoplePicker pickerSuggestionsProps={suggestionProps}
193193
onResolveSuggestions={this.onSearchFieldChanged}

0 commit comments

Comments
 (0)