If you set custom TextField the function hint dissappear
See original GitHub issueHi @jaumard this is a very good plugin ! i found an issue, If you using PhoneFieldHint and assign child TextField customized, the functionality of Hint dissappear, check this code
builder: (_, snapshot) => PhoneFieldHint( autofocus: true, child: TextField( decoration: InputDecoration( hintText: 'Tu Número', errorText: snapshot.error, errorStyle: SignUpConfiguration.getErrorFormStyle(context), ), onChanged: bloc.onPhoneNumberChanged, keyboardType: TextInputType.phone, autocorrect: false, style: TextStyle( fontFamily: 'Roboto', fontSize: Utils.getFontSize(context, 20.0), ), ), )
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Hi @alexviquez sorry for very late reply, I don’t have much time for looking into that but I’ll gladly review and merge a PR addressing this !
Thanks !
Hi @jaumard It won’t work even if I tap on the TextField. Can you please guide us on how to set focusNode in this particular case. I tried setting one but it is still not working.