Skip to content

Commit

Permalink
Merge c07f226 into 704ed9a
Browse files Browse the repository at this point in the history
  • Loading branch information
pekam committed Oct 18, 2019
2 parents 704ed9a + c07f226 commit 614f718
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/vaadin-integer-field.html
Expand Up @@ -34,6 +34,28 @@
return '2.5.0-alpha2';
}

static get properties() {
// Hide inherited props that don't work with <input type="number"> from JSDoc.
return {
/**
* @private
*/
pattern: String,
/**
* @private
*/
preventInvalidInput: Boolean,
/**
* @private
*/
minlength: Number,
/**
* @private
*/
maxlength: Number
};
}

ready() {
super.ready();
this._enabledCharPattern = '[-+\\d]';
Expand Down

0 comments on commit 614f718

Please sign in to comment.