Title: ng-template not working in angular 9 with IVY · Issue #36238 · angular/angular · GitHub
Open Graph Title: ng-template not working in angular 9 with IVY · Issue #36238 · angular/angular
X Title: ng-template not working in angular 9 with IVY · Issue #36238 · angular/angular
Description: 🐞 bug report ng-template is not working properly in angular 9 but working fine in angular 8 Is this a regression? yes, working fine in angular 8 Description I have created same application in both angular 8 and angular 9, my application ...
Open Graph Description: 🐞 bug report ng-template is not working properly in angular 9 but working fine in angular 8 Is this a regression? yes, working fine in angular 8 Description I have created same application in both ...
X Description: 🐞 bug report ng-template is not working properly in angular 9 but working fine in angular 8 Is this a regression? yes, working fine in angular 8 Description I have created same application in both ...
Opengraph URL: https://github.com/angular/angular/issues/36238
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng-template not working in angular 9 with IVY","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n\r\n# 🐞 bug report\r\n\r\nng-template is not working properly in angular 9 but working fine in angular 8\r\n\r\n\r\n### Is this a regression?\r\n\r\n**yes, working fine in angular 8**\r\n\r\n### Description\r\n\r\nI have created same application in both angular 8 and angular 9, my application working fine in angular 8.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n### Working sample\r\n1. download below angular 8 sample\r\n[angular8.zip](https://github.com/angular/angular/files/4379217/angular8.zip)\r\n\r\n2. Give \"npm i\" and \"ng serve\"\r\n\r\n3.then chose any one row from grid and click \"edit\" button, you wiill see below \r\n\r\n\r\n\r\nmy template working fine.\r\n\r\n### issue sample\r\n1. download below angular 9 sample\r\n\r\n[angular 9.zip](https://github.com/angular/angular/files/4379205/angular.9.zip)\r\n\r\n2. Give \"npm i\" and \"ng serve\"\r\n\r\n3.then below screen occurs , then chose any one row from grid and click \"edit\" button, you wiill see below \r\n\r\n\r\n\r\n### Code snippet\r\n\r\n```\r\n\u003cejs-grid [dataSource]='data' allowPaging='true' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar' (actionBegin)='actionBegin($event)' (actionComplete)='actionComplete($event)'>\r\n \u003ce-columns>\r\n \u003ce-column field='OrderID' headerText='Order ID' width='120' textAlign='Right' [isPrimaryKey]='true'>\u003c/e-column>\r\n \u003ce-column field='CustomerName' headerText='Customer Name' width='120'>\u003c/e-column>\r\n \u003ce-column field='Freight' headerText='Freight' width='120' format='C2' textAlign='Right'>\u003c/e-column>\r\n \u003ce-column field='OrderDate' headerText='Order Date' width='130' format='yMd' textAlign='Right'>\u003c/e-column>\r\n \u003ce-column field='ShipCountry' headerText='Ship Country' width='150'>\u003c/e-column>\r\n \u003c/e-columns>\r\n \u003cng-template #editSettingsTemplate let-data>\r\n \u003cdiv ngForm #orderForm=\"ngForm\">\r\n \u003ctable class=\"e-table e-inline-edit\" cellspacing=\"0.25\">\r\n \u003ccolgroup>`\r\n \u003ccol style=\"width: 120px;\">\r\n \u003ccol style=\"width: 120px;\">\r\n \u003ccol style=\"width: 120px;\">\r\n \u003ccol style=\"width: 130px;\">\r\n \u003ccol style=\"width: 150px;\">\r\n \u003c/colgroup>\r\n \u003ctbody>\r\n \u003ctr>\r\n \u003ctd style=\"text-align: right\" class='e-rowcell'>\r\n \u003cdiv class=\"e-input-group\" [ngClass]= \"{'e-disabled': !data.isAdd}\">\r\n \u003cinput class=\"e-input e-field\" [(ngModel)]=\"orderData.OrderID\" required [attr.disabled]=\"!data.isAdd ? '' : null\" name='OrderID' type=\"text\" (focus)=\"focusIn($event.target)\"\r\n (blur)=\"focusOut($event.target)\" #OrderID style=\"text-align: right\" />\r\n \u003c/div>\r\n \u003c/td>\r\n \u003ctd class='e-rowcell'>\r\n \u003cdiv class=\"e-input-group\">\r\n \u003cinput class=\"e-input e-field\" name='CustomerName' [(ngModel)]=\"orderData.CustomerName\" required type=\"text\" (focus)=\"focusIn($event.target)\"\r\n (blur)=\"focusOut($event.target)\" #CustomerName />\r\n \u003c/div>\r\n \u003c/td>\r\n \u003ctd style=\"text-align: right\" class='e-rowcell'>\r\n \u003cejs-numerictextbox name=\"Freight\" id=\"Freight\" [(ngModel)]=\"orderData.Freight\" floatLabelType='Never'>\u003c/ejs-numerictextbox>\r\n \u003c/td>\r\n \u003ctd style=\"text-align: right\" class='e-rowcell'>\r\n \u003cejs-datepicker id=\"OrderDate\" name=\"OrderDate\" required [(ngModel)]=\"orderData.OrderDate\" floatLabelType='Never'>\u003c/ejs-datepicker> \r\n \u003c/td>\r\n \u003ctd class='e-rowcell'>\r\n \u003cejs-dropdownlist id=\"ShipCountry\" name=\"ShipCountry\" [(ngModel)]=\"orderData.ShipCountry\" [dataSource]='shipCountryDistinctData' [fields]=\"{text: 'ShipCountry', value: 'ShipCountry' }\" popupHeight='300px' floatLabelType='Never'>\u003c/ejs-dropdownlist>\r\n \u003c/td>\r\n \u003c/tr>\r\n \u003c/tbody>\r\n \u003c/table>\r\n \u003c/div>\r\n \u003c/ng-template>\r\n \u003c/ejs-grid>\r\n```\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\n\"@angular/animations\": \"~9.0.2\",\r\n \"@angular/common\": \"~9.0.2\",\r\n \"@angular/compiler\": \"~9.0.2\",\r\n \"@angular/core\": \"~9.0.2\",\r\n \"@angular/forms\": \"~9.0.2\",\r\n \"@angular/platform-browser\": \"~9.0.2\",\r\n \"@angular/platform-browser-dynamic\": \"~9.0.2\",\r\n \"@angular/router\": \"~9.0.2\",\r\n\"@angular-devkit/build-angular\": \"~0.900.3\",\r\n \"@angular/cli\": \"~9.0.3\",\r\n \"@angular/compiler-cli\": \"~9.0.2\",\r\n \"@angular/language-service\": \"~9.0.2\",\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nBoth angular 8 and angular 9, my template reference are same in my soure level\"ngAfterContnctChecked\" hook.\r\n\r\n### angular 8 reference:\r\n\r\n\r\n\r\n### angular 9 reference:\r\n\r\n","author":{"url":"https://github.com/kumaresan-subramani","@type":"Person","name":"kumaresan-subramani"},"datePublished":"2020-03-25T06:02:06Z","url":"https://github.com/angular/angular/issues/36238"}
| 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:36d7242d-208a-e81d-d9fe-8c6b7f8b2c07 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82F8:1F4E:15D296:1CEAC7:6B0140E8 |
| html-safe-nonce | c0cedc16e9fdb17fde885faf4f286d86afb2a73c8fe2cbd972b549e49f5ef951 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkY4OjFGNEU6MTVEMjk2OjFDRUFDNzo2QjAxNDBFOCIsInZpc2l0b3JfaWQiOiIzNTE3OTAwODM3OTgyNjUwNjAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 56e092a3b372592e254de09139619f8eedd22e04191e015fa6970806ec9d2a6a |
| hovercard-subject-tag | issue:587463295 |
| 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/36238/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5ad7d2608687cd57338a6f8de77d270ae86bf40ebf0a16e139eb832c7d9a4486/angular/angular/issues/36238 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ad7d2608687cd57338a6f8de77d270ae86bf40ebf0a16e139eb832c7d9a4486/angular/angular/issues/36238 |
| og:image:alt | 🐞 bug report ng-template is not working properly in angular 9 but working fine in angular 8 Is this a regression? yes, working fine in angular 8 Description I have created same application in both ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kumaresan-subramani |
| 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