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 text was updated successfully, but these errors were encountered:
const [regForm, setRegForm] = useState({ firstName: '', lastName: '', email: '', newPassword: '', confirmPassword: '', birthdate: '', country: '', }); const updateForm = (e) => { setRegForm({ ...regForm, [e.target.name]: e.target.value, }); }; const handleAdress = (e) => { setRegForm({ ...regForm, country: e.value }); };
<AddressSuggestions className='register__wrapper-input second-page' token='82173f834fc389954239d4414514d3ce2634ae1e' onChange={(event) => { handleAdress(event); }}
inputProps={{ placeholder: 'Страна, город', value: regForm.country, onChange: (event) => { handleAdress(event); }, }} />
Sorry, something went wrong.
No branches or pull requests
так происходит только при ререндере компоненты
The text was updated successfully, but these errors were encountered: