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
![image](https://private-user-images.githubusercontent.com/65347804/290291238-a737468d-9168-4133-a658-ec57f21867da.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NDk5NDYsIm5iZiI6MTcyNTc0OTY0NiwicGF0aCI6Ii82NTM0NzgwNC8yOTAyOTEyMzgtYTczNzQ2OGQtOTE2OC00MTMzLWE2NTgtZWM1N2YyMTg2N2RhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDIyNTQwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5MTc5NjNmZGQ2Njc0NzllZWI2ZGIzNzgxOGJiNzkyMjBjNTcwNWM0ZTc0NjVlZTI4MmE0NGQ3ODNmOWUzNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FBfGp2V1oewOAlvAm4Wm1PVVKhMAv4-6f3ZMRu0vJG4)
![phone](https://private-user-images.githubusercontent.com/65347804/290291501-3e5abd9f-8708-42cc-abd6-f9496939add0.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NDk5NDYsIm5iZiI6MTcyNTc0OTY0NiwicGF0aCI6Ii82NTM0NzgwNC8yOTAyOTE1MDEtM2U1YWJkOWYtODcwOC00MmNjLWFiZDYtZjk0OTY5MzlhZGQwLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA3VDIyNTQwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3ZGRkOTdjNjAyMTgzNzI1NDdlYTZiMjZlMzU2MzNhODQ1YTk2ZDQ1M2E0NzZiN2RiZWNjNDc1MDVhZGNkNTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D1tcD-X4qAxehNPakWO8R01vVUaFhO7IRuwjo67LqIg)
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: