3 Commits

Author SHA1 Message Date
Elliott Sprehn
9650c274b6 Fix <sky-input> data binding when editing deletes the last char.
contenteditable would remove the Text node inside the
editable area which would mean setting the value attr
of the <sky-input> would stop updating the editable
area.

Instead we add the text back if editing removed it.

R=abarth@chromium.org, ojan@chromium.org

Review URL: https://codereview.chromium.org/788953006
2015-01-16 14:39:03 -08:00
Adam Barth
3b86add20e Flex the inside of the input control
We really need delegated focus from the container to the control, but this will
do for now.

TBR=esprehn@chromium.org

Review URL: https://codereview.chromium.org/844763004
2015-01-08 13:29:30 -08:00
Adam Barth
64a7d49358 Implement <sky-input>
This CL contains a basic input element.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/831353003
2015-01-08 13:22:00 -08:00