Skip to content
New issue

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

MDTextField data-bound hint not reflecting on value update #390

Open
kdomingo opened this issue Jun 20, 2022 · 6 comments
Open

MDTextField data-bound hint not reflecting on value update #390

kdomingo opened this issue Jun 20, 2022 · 6 comments

Comments

@kdomingo
Copy link

kdomingo commented Jun 20, 2022

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

MDTextField data-bound hint not reflecting on value update

Which platform(s) does your issue occur on?

  • Android

Please, provide the following version numbers that your issue occurs with:

  • All latest

Please, tell us how to recreate the issue in as much detail as possible.

Bind a string property to [hint] and change.

@farfromrefug
Copy link
Member

@kdomingo you ll have to give a little it more thann this, like a sample code. Or even better a repro example project

@kdomingo
Copy link
Author

@kdomingo you ll have to give a little it more thann this, like a sample code. Or even better a repro example project

< MDTextField
#emailPhoneField
id="email-phone-field"
width="80%"
variant="outline"
strokeRadius="24"
strokeColor="#09A9F4"
strokeInactiveColor="#808080"
placeholderColor="#808080"
floating="false"
minHeight="80"
fontSize="16"
borderRadius="24"
[hint]="viewModel.hint">

@R-chie
Copy link

R-chie commented Sep 18, 2022

same issue, hint doesn't work with interpolation too

@farfromrefug
Copy link
Member

@kdomingo @R-chie so you are saying first value gets set but when you try to change it it does not update?

@R-chie
Copy link

R-chie commented Sep 18, 2022

@farfromrefug value sets only if
hint="enter your value..."

[hint]="placeholderInputValue"- doesn't work, placeholder not visible
hint="{{placeholderValue}}" - doesn't work, placeholder not visible

@farfromrefug
Copy link
Member

@R-chie ok really weird would say it has nothing to do with the plugin. Reactivity is handled in N core.
I ll check if i can reproduce in vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants