Skip to content

Commit ce8c28b

Browse files
eramodchancancode
authored andcommitted
[FEATURE modernized-built-in-components] Implement input attrs deprecation
Tracking issue: emberjs#19270 More specifically, it enables the <Input> attribute deprecations introduced in emberjs#19218, fixes broken tests, and updates all test {{input}} invocations to use <Input> instead.
1 parent 10f2f9b commit ce8c28b

File tree

9 files changed

+500
-323
lines changed

9 files changed

+500
-323
lines changed

packages/@ember/-internals/glimmer/lib/components/input.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ if (EMBER_MODERNIZED_BUILT_IN_COMPONENTS) {
469469
`Passing the \`@${argument}\` argument to <Input> is deprecated. ` +
470470
`Instead, please pass the attribute directly, i.e. \`<Input ${attribute}={{...}} />\` ` +
471471
`instead of \`<Input @${argument}={{...}} />\` or \`{{input ${argument}=...}}\`.`,
472-
true /* TODO !(argument in this.args) */,
472+
!(argument in this.args),
473473
{
474474
id: 'ember.built-in-components.legacy-attribute-arguments',
475475
for: 'ember-source',

0 commit comments

Comments
 (0)