ember/template-no-input-tagname
April 20, 2026 ยท View on GitHub
๐ผ This rule is enabled in the ๐ template-lint-migration config.
{{input tagName=x}} will result in obtuse errors. Typically, the input will simply fail to render, whether used in block form or inline. The only valid tagName for the input helper is input. For textarea, button, and other input-like elements, you should instead create a new component or better use the DOM!
Examples
This rule forbids the following:
<template>
{{input tagName='foo'}}
{{input tagName=X}}
{{component 'input' tagName='foo'}}
{{component 'input' tagName=X}}
{{yield (component 'input' tagName='foo')}}
{{yield (component 'input' tagName=X)}}
</template>