ember-component-css icon indicating copy to clipboard operation
ember-component-css copied to clipboard

Doesn't work with angle brackets

Open maxwondercorn opened this issue 6 years ago • 0 comments

Using the ember-angle-bracket-invocation-polyfill with ember 3.51 so I can use angle bracket <Input />. {{styleNamespace}} generates a template compiler error: Cannot read property 'type' of undefined

   <Input
       class="form-control {{styleNamespace}}__pwd"
       @type="password"
       @value={{this.password}}
       @placeholder="Password"
       data-test-pwd=""
     />

The type is password but it doesn't matter what the type is. {{styleNamespace}} will generate the error. Since there isn't a code snippet with issue #61 I can't compare the issues.

I don't know but I would assume this issue will show up on 3.11 where angle bracket input and textarea are built in.

maxwondercorn avatar Aug 04 '19 07:08 maxwondercorn