react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Conflict with bootstrap styles

Open manojgetwealthy opened this issue 1 year ago • 0 comments

If you are using bootstrap, then a green border and tick mark appears in the phone number control as it uses similar classes used by bootstrap.

Repro:

const Phone2 = () => {
    return (
        <form className="was-validated">
            <PhoneInput country="in" inputClass="phone-input-control" />
            <button
                type="submit"
                onClick={(e) => {
                    e.preventDefault();
                    e.stopPropagation();
                }}>Save</button>
        </form>
    );
};
Screenshot 2023-04-17 at 5 20 08 PM

manojgetwealthy avatar Apr 17 '23 11:04 manojgetwealthy