Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 964 Bytes

File metadata and controls

28 lines (17 loc) · 964 Bytes

ember/template-no-input-block

💼 This rule is enabled in the 📋 template-lint-migration config.

HBS Only: This rule applies to classic .hbs template files only (loose mode). It is not relevant for gjs/gts files (strict mode), where these patterns cannot occur.

Use of the block form of the handlebars input helper will result in an error at runtime.

Examples

This rule forbids the following:

{{#input}}Some Content{{/input}}

This rule allows the following:

{{input type='text' value=this.firstName disabled=this.entryNotAllowed size='50'}}

References