react-phone-input-2
react-phone-input-2 copied to clipboard
component has 'phone-form-control' as id on the input field which makes it non semantic when multiple are used
Hi, Thank you for this cool component. I've noticed that I'm getting a lot of warnings on react app and they all come from using this input component. Apparently the input of the phone field is using a hard-coded 'phone-form-control'. This means that whenever there are multiple of those on the page, there will be warnings shown in the console. Also, semantically this would be deemed as invalid HTML. Would you be able to change the usage from id to a class? Or implement the fix for same id's in any other way?
Thank you
Also getting this! Whilst not critical, would be great to see a fix.