Title: @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not · Issue #54035 · angular/angular · GitHub
Open Graph Title: @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not · Issue #54035 · angular/angular
X Title: @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not · Issue #54035 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not I wanted to work with angular material form-field. I tried to condition...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not I wanted to work with angular m...
X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not I wanted to work with a...
Opengraph URL: https://github.com/angular/angular/issues/54035
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncore\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\n\n@if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not\r\n\r\nI wanted to work with angular material form-field. I tried to condition mat-errors.\r\n\r\nI wrote a first @if to test if the field is touched or not and inside several @if to test the different error cases.\r\n\r\nexpected : as usual a beautiful mat-error design\r\n\r\nResult : the mat-error is not displayed as expected. No design for him.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://stackblitz.com/edit/73hcig-celf3j?file=src%2Fexample%2Fform-field-error-example.html\r\n\r\n### Please provide the exception or error you saw\r\n\r\n_No response_\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\nAngular CLI: 17.0.0\r\nNode: 18.18.0\r\nPackage Manager: yarn 1.22.19\r\nOS: linux x64\r\n\r\nAngular: 17.0.0\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.1700.0\r\n@angular-devkit/build-angular 17.0.0\r\n@angular-devkit/core 17.0.0\r\n@angular-devkit/schematics 17.0.0\r\n@angular/cdk 17.1.0\r\n@angular/localize 17.0.8\r\n@angular/material 17.1.0\r\n@angular/material-moment-adapter 17.1.0\r\n@schematics/angular 17.0.0\r\nrxjs 7.4.0\r\ntypescript 5.2.2\r\nzone.js 0.14.0\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\nIn the stackblitz repo you just have to click inside both input and you will see the difference","author":{"url":"https://github.com/GaetanRdn","@type":"Person","name":"GaetanRdn"},"datePublished":"2024-01-23T16:08:18Z","url":"https://github.com/angular/angular/issues/54035"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed5944dd-e04b-d9e0-0020-d0332b738570 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C778:22DB35:18745BC:1F47342:6B0130F5 |
| html-safe-nonce | 42479c52a12eae0e97c9f8e45558dd9f5480f7f1d59d299b219a7726f319a271 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzc4OjIyREIzNToxODc0NUJDOjFGNDczNDI6NkIwMTMwRjUiLCJ2aXNpdG9yX2lkIjoiODY2OTcxMzY3MTQ0Nzk4MjMyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 426f4055ae2feca402a7ff17e40a53e2dd0ad4db239ce08ceabd86567538b01f |
| hovercard-subject-tag | issue:2096433208 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/54035/issue_layout |
| twitter:image | https://opengraph.githubassets.com/04dfa5c4caa06c54590aef90ff77198c2a014d1641f1db68d491dcada0edf3c4/angular/angular/issues/54035 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04dfa5c4caa06c54590aef90ff77198c2a014d1641f1db68d491dcada0edf3c4/angular/angular/issues/54035 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description @if(A && B) {} should be the same as @if (A) { @if(B) {}} but is not I wanted to work with angular m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GaetanRdn |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width