Hey, @dlucidone I have tested text-field with both options (Editable=false, textWrap="true" ) and it works as expected on my side. Here you can find a sample test application that demonstrates the behaviour.
Please provide additional information for that issue - including code snippet demonstrating the probnlem and the platform on which it occurs and also the model of the device/emulator you are using.
Hey, @NickIliev thanks for the quick response
Here's my code snippet I'm Using
public longName="This is a Very Long String so its text should be wraped to new line but this is not happening"
<TextField hint="Select Lead" [(ngModel)]="longName" textWrap = "true" editable= "false" ></TextField>
I'm building application for android on OSX
Android version : 2.4.1
tns-core-modules : 2.4.0
nativescript-angular: 1.1.3
Thanks
@dlucidone
Instead of _TextField_ use TextView
e.g.
<TextView [(ngModel)]="longName" editable="false" textWrap="true"></TextView>
@NickIliev Tried stil not working.
Suppose If i have to make it editable based on some input and not editable for some with text wrap property being true in all cases is it possible. Thanks
@NickIliev thanks i also faceing same issue and solve it.
Remember that it is "editable" and not Editable".... (small "e") that helped me.
thanks helped me.
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.
Most helpful comment
@dlucidone
Instead of _TextField_ use TextView
e.g.