This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
strictBindingsCheck throw a error for a optional attribute #16303
Closed
Description
I'm submitting a ...
- bug report
- feature request
- other (Please do not submit support requests here (see above))
Current behavior:
When update angular from v1.4.8 to v1.6.6, a error thrown:
"[$compile:nonassign] Expression 'undefined' in attribute 'elementId' used with directive 'tiActionMenu' is non-assignable!"
I check the html, there is no elementId attribute in '<ti-action-menu></ti-action-menu>, but the strictComponentBindings is not enabled.
Expected / new behavior:
No error thrown.
Minimal reproduction of the problem with instructions:
AngularJS version: 1.x.y
1.6.6
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
chrome 62
Anything else: