Skip to content

Commit

Permalink
Update src/hooks/useSelectAppearance.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Deharbe <[email protected]>
  • Loading branch information
basseche and Mathieu-Deharbe authored Jan 28, 2025
1 parent f0029b0 commit a1e8555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSelectAppearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/** Hooks used to modify appearance of Select as a readonly TextField,
by hiding display button and setting readOnly prop to true
if options list is only one element long.
P.S : Not to used on AutoComplete.
P.S : Do not use on AutoComplete.
*/
export function useSelectAppearance(listLength: number) {
if (listLength === 1) {
Expand Down

0 comments on commit a1e8555

Please sign in to comment.