We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
It used to work on {N} 2.5 and now it seems that the only way to show/hide some elements is using visibility option.
Before
<StackLayout class="page"> <Label *ngIf="isPresent" text="{{showText}}"></Label> </StackLayout>
Now (Workaround)
<StackLayout class="page"> <Label visibility="{{isPresent ? 'visible' : 'collapse'}}" text="{{showText}}"></Label> </StackLayout>
Is this expected and from now on I will have to use visibility for UI logic?
Versions
"@angular/animations": "~4.1.0", "@angular/common": "~4.1.0", "@angular/compiler": "~4.1.0", "@angular/core": "~4.1.0", "@angular/forms": "~4.1.0", "@angular/http": "~4.1.0", "@angular/platform-browser": "~4.1.0", "@angular/platform-browser-dynamic": "~4.1.0", "@angular/router": "~4.1.0", "moment": "^2.18.1", "nativescript-angular": "^3.1.0", "nativescript-angular-snapshot": "1.5.2-5.5.372.32", "nativescript-carousel-view": "^2.9.0", "nativescript-google-maps-sdk": "^2.3.0", "nativescript-loading-indicator": "^2.3.2", "nativescript-local-notifications": "^1.2.1", "nativescript-platform-css": "^1.4.0", "nativescript-plugin-firebase": "^4.0.2", "nativescript-pulltorefresh": "^2.0.1", "nativescript-push-notifications": "^0.1.2", "nativescript-sidedrawer": "^1.0.6", "nativescript-theme-core": "~1.0.2", "reflect-metadata": "~0.1.8", "rxjs": "~5.3.0", "tns-core-modules": "^3.1.0", "zone.js": "~0.8.2"
TNS Paltform 3.1.0
The text was updated successfully, but these errors were encountered:
This issue was moved to NativeScript/nativescript-angular#872
Sorry, something went wrong.
update native core modules npm i tns-core-modules@next --save ngif works perfectly
npm i tns-core-modules@next --save
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.
No branches or pull requests
It used to work on {N} 2.5 and now it seems that the only way to show/hide some elements is using visibility option.
Before
Now (Workaround)
Is this expected and from now on I will have to use visibility for UI logic?
Versions
TNS Paltform
3.1.0
The text was updated successfully, but these errors were encountered: