You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set hint for TextView for numeric hint = "0.01" but it doesn't display anything. I tried to use alphabet hint = "abc" but it seem working fine.
@michaelchan1992 as a temporary workaround open your node_modules/tns-core-modules/ui/text-view/text-view.ios.js and modify this line to this
if (hint.toString() && !text) {
Notice that this would work as far as you do not delete your node_modules folder. If you have to rebuild your project entirely (with reset node_modules) than you will have to apply the solution again.
Activity
NickIliev commentedon Feb 6, 2017
Reproduced under iOS with tns-core-modules 2.5.0.
The issue appeared only when the digit (set as textView's hint) is 0 or 0.00;
Works as expected with any other digit and string.
Possible reason for this issue here
@michaelchan1992 as a temporary workaround open your node_modules/tns-core-modules/ui/text-view/text-view.ios.js and modify this line to this
Notice that this would work as far as you do not delete your node_modules folder. If you have to rebuild your project entirely (with reset node_modules) than you will have to apply the solution again.
michaelchan1992 commentedon Feb 7, 2017
Thank for the solution, it work as expected.
SvetoslavTsenov commentedon Apr 26, 2017
Tested with 3.0.0
lock commentedon Aug 28, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.