Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
brianblakely committed Apr 13, 2017
1 parent dba7f21 commit a9ca13e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions input.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default class Input {
set: val=> {
if(!/^\d{4}-\d{2}-\d{2}$/.test(val)) {
this.element.polyfillValue = ``;
this.element.setAttribute(`value`, ``);
return false;
}

Expand Down

0 comments on commit a9ca13e

Please sign in to comment.