Skip to content

Commit

Permalink
fix number field advanced search
Browse files Browse the repository at this point in the history
  • Loading branch information
brookgagnon committed Aug 11, 2024
1 parent df787d9 commit 849e70e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/fields/number.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OBFieldNumber extends OBField {
}

inputChange(event) {
this.value = event.target.value;
this._value = parseInt(event.target.value);
}

set value(value) {
Expand Down Expand Up @@ -55,3 +55,6 @@ class OBFieldNumber extends OBField {
}

customElements.define("ob-field-number", OBFieldNumber);

class OBFieldInteger extends OBFieldNumber {}
customElements.define("ob-field-integer", OBFieldInteger);

0 comments on commit 849e70e

Please sign in to comment.