mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #3755 from NativeScript/yosifov/fix-text-field-snippet
Fix text field code snippet
This commit is contained in:
@@ -13,8 +13,8 @@ Using a TextField requires the text-field module.
|
|||||||
```XML
|
```XML
|
||||||
<Page loaded="pageLoaded">
|
<Page loaded="pageLoaded">
|
||||||
<StackLayout orientation="vertical">
|
<StackLayout orientation="vertical">
|
||||||
{%raw%}<TextView text="{{ someProperty }}" />
|
{%raw%}<TextField text="{{ someProperty }}" />
|
||||||
<TextView text="{{ someProperty }}" />{%endraw%}
|
<TextField text="{{ someProperty }}" />{%endraw%}
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user