We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 (
export default UnifiedPhoneInput;
The text was updated successfully, but these errors were encountered:
I had the same issue.
` import PhoneInput from 'react-phone-input-2' import 'react-phone-input-2/lib/style.css' const PhoneInputComponent = (PhoneInput as any).default ? (PhoneInput as any).default : PhoneInput
`
Sorry, something went wrong.
No branches or pull requests
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: