react-toolkit icon indicating copy to clipboard operation
react-toolkit copied to clipboard

fix(SelectInput): id consistency problem when empty prop value

Open djedje72 opened this issue 4 years ago • 0 comments

Issue and Steps to Reproduce

When you use <SelectInput /> component without id prop, there is an id consistency problem : 1 - SelectInput.tsx code will generate a new id with useId because prop is empty 2 - Select.tsx code will generate a new id with useId because the previous generated id is not given to this component

image

djedje72 avatar Oct 11 '22 15:10 djedje72