-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flags dropdown not visible in remix application #661
Comments
I had the same issue. ` ` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Dropdown not showing flags in remix application using react . As shown below image
code :-
import React, { useState } from 'react';
import PhoneInput from 'react-phone-input-2';
import 'react-phone-input-2/lib/plain.css';
import 'react-phone-input-2/lib/bootstrap.css'
const UnifiedPhoneInput: React.FC = () => {
const [phoneNumber, setPhoneNumber] = useState('');
const handleOnChange = (value: string, country: any) => {
setPhoneNumber(value);
};
return (
<PhoneInput
country={'US'}
value={phoneNumber}
onChange={handleOnChange}
inputProps={{
name: 'phone',
required: true,
autoFocus: true,
}}
/>
);
};
export default UnifiedPhoneInput;
The text was updated successfully, but these errors were encountered: