Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Lint accuses databind-with-unknown-property warning on iron-form #293

@wikedo

Description

@wikedo

Description

Running polymer linter on iron-form (2.x) gives warnings on the internal submission form due to the databinds with undeclared properties (action, method, enctype).
I assume it should also happen for 3.x since the implementation is basically the same.

Expected outcome

Polymer linter should not accuse any warnings or errors.

Actual outcome

Polymer linter accuses databind-with-unknown-property on the iron-form's internal form:

    <form id="helper" action$="[[action]]" method$="[[method]]" enctype$="[[enctype]]"></form>
                                 ~~~~~~

.../bower_components/iron-form/iron-form.html(100,34) warning [databind-with-unknown-property] - action is not declared or used more than once. Did you mean: _init


    <form id="helper" action$="[[action]]" method$="[[method]]" enctype$="[[enctype]]"></form>
                                                      ~~~~~~

.../bower_components/iron-form/iron-form.html(100,55) warning [databind-with-unknown-property] - method is not declared or used more than once. Did you mean: detached


    <form id="helper" action$="[[action]]" method$="[[method]]" enctype$="[[enctype]]"></form>
                                                                            ~~~~~~~

.../bower_components/iron-form/iron-form.html(100,77) warning [databind-with-unknown-property] - enctype is not declared or used more than once. Did you mean: title

Steps to reproduce

Run polymer linter on iron-form (2.x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions