question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If you set custom TextField the function hint dissappear

See original GitHub issue

Hi @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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jaumardcommented, Oct 24, 2019

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 !

0reactions
vasuranacommented, Oct 26, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to make hint disappear when edittext is touched?
Hint only disappears when you type in any text, not on focus. I don't think that there is any automatic way to do...
Read more >
Solved: Keep Hint Text - Power Platform Community - Microsoft
Is there a way to keep the Hint Text in the Input Box until the user starts typing instead of it disappearing as...
Read more >
Working with the EditText | CodePath Android Cliffnotes
Displaying Floating Label Feedback. Traditionally, the EditText hides the hint message (explained above) after the user starts typing. In addition, any ...
Read more >
PowerApps Search Field: How To Add And Customize
If we click the icon again, the visibility turns to false and the text box disappears. Adding A Hint To The Search Bar....
Read more >
TextField class - material library - Flutter - Dart API docs
You can use the decoration property to control the decoration, for example by adding a label or an icon. If you set the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found