Angular2アプリケーションの1つでは、入力フィールドにformControlName属性を使用しました。Angular2 formControlName属性を提供するためのW3C検証エラー
例: "この 時点で要素入力に許可されていないformcontrolname属性"
input formControlName="Searchbycombo" class="customcombocontrol" type="text" name="Searchbycombo" id="ctry"
しかし、私はページを検証しようとすると、W3Cのバリデータが何らかのエラーに
を提供
は、私はすでに、このURLが、運https://angular.io/docs/ts/latest/guide/template-syntax.html#!#other-bindings
同じ問題を解決するためにどのように任意のアイデアを介して行っています。
明らかに、それは正式に有効な 'input'要素の属性ではありません。 – jonrsharpe
有効な入力属性のリスト:https://w3c.github.io/html/sec-forms.html#the-input-element – BSMP
あなたの 'code'はどこですか? – developer033