Skip to content

Commit

Permalink
fix: rollback label selectinput (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagner3UB authored and pnicolli committed Feb 26, 2025
1 parent bf9f4a2 commit c3f37c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

- Se su un evento si imposta una ricorrenza mensile per eventi che avvengono in uno specifico giorno della settimana, la ricorrenza viene calcolata correttamente.
- Aggiunto correttamente il data-element ai link della card con testo animato del blocco Elenco.
- Condizione per la Label per i select ripristinata.

## Versione 11.26.5 (06/02/2025)

Expand Down
3 changes: 2 additions & 1 deletion src/components/SelectInput/SelectInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ const SelectInput = ({
const Select = reactSelect.default;
return (
<div className="bootstrap-select-wrapper">
{label && <label htmlFor={!labelledby ? id : undefined}>{label}</label>}
<Select
components={{
MenuList,
Expand All @@ -347,7 +348,7 @@ const SelectInput = ({
isMulti={isMulti}
isClearable={isClearable}
aria-label={labelDefined}
aria-labelledby={labelledby}
aria-labelledby={!label ? labelledby : undefined}
aria-live="polite"
ariaLiveMessages={getSelectAriaLiveMessages(intl)}
noOptionsMessage={() =>
Expand Down

0 comments on commit c3f37c6

Please sign in to comment.