Open zacharytamas opened 7 years ago
I guess this is specific to input[value]
because of course we don't necessarily know how a non-Polymer custom element behaves: it might actually emit Polymer-compatible changed events and thus the linter would be complaining about nothing. But we do know how native HTML elements behave or should by the their specs.
In Polymer if you are binding to a native
<input>
element'svalue
property it is less straightforward and you have to specify the event Polymer should listen to:<input type="text" value="{{addressInput::input}}">
It would be handy if Polylint would suggest this when you make the mistake of forgetting it, which doesn't setup a working binding:
<input type="text" value="{{addressInput}}">
The above doesn't actually bind the value of the
value
property toaddressInput
. There's no console warning or error... it just doesn't work. Seems like a lint warning would be valuable here.