Skip to content

Commit

Permalink
STSMACOM-882 use a different approach to fix Notes display as a pop-u…
Browse files Browse the repository at this point in the history
…p label
  • Loading branch information
BogdanDenis committed Jan 7, 2025
1 parent 80bf1ef commit d4c3c1a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ export default class NoteFields extends Component {
{showDisplayAsPopupOptions && (
<Row>
<Col xs={12}>
<Label for="display-as-popup-group">
<Label id="display-as-popup-group-label">
<span className={styles.heading}>
<FormattedMessage id="stripes-smart-components.notes.displayAsPopup.label" />
</span>
</Label>
<div id="display-as-popup-group">
<fieldset aria-labelledby="display-as-popup-group-label">
<Field
name="popUpOnCheckOut"
type="checkbox"
Expand All @@ -112,7 +112,7 @@ export default class NoteFields extends Component {
label={<FormattedMessage id="stripes-smart-components.notes.displayAsPopup.users" />}
readOnly={fieldsAreDisabled}
/>
</div>
</fieldset>
</Col>
</Row>
)}
Expand Down

0 comments on commit d4c3c1a

Please sign in to comment.