The themable Web Component providing input controls. Part of the Vaadin components.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by yuriy-fix almost 5 years ago
Live Demo →
API Documentation →
Published by yuriy-fix almost 5 years ago
Live Demo →
API Documentation →
41f6e7b Override validate to change invalid state instead of checkValidity (#439)
cac7a64 test: disable flaky number-field tests in Firefox (#440)
6d5f374 fix: avoid using initial step in validation (#421)
setting the min or max property should not trigger step-based validation
fix #420
Published by pekam almost 5 years ago
Live Demo →
API Documentation →
vaadin-integer-field
component (#415)4d5a222 fix(number-field): prevent readonly value change with keys (#434)
88859eb fix: prevent entering period to IntegerField on mobile (#431)
By double-checking the _enabledCharPattern with the experimental
beforeinput event.
Fix #429
9c38c36 fix(number-field): reset pointer-events properly [skip ci] (#432)
2304ea2 IntegerField: override pattern etc. as private (#426)
Published by web-padawan almost 5 years ago
Live Demo →
API Documentation →
Readonly number field value can now be selected and copied
Readonly number field now disallows changing value using arrow keys
24d0565 fix(number-field): prevent readonly value change with keys (#434)
d799c17 fix(number-field): reset pointer-events properly [skip ci] (#432)
Published by pekam about 5 years ago
Live Demo →
API Documentation →
7f20c6e feat/refactor: add _enabledCharPattern property (#424)
Protected feature extracted from to allow
reusing the same logic for BigDecimalField.
Published by tomivirkki about 5 years ago
Live Demo →
API Documentation →
d719168 Add helper text API and slot (#410)
7599194 docs: fix title-property JSDoc [skip ci] (#419)
a3d2665 refactor: init constraints observer after ready
73b66b2 test: fix new tests
7e4d7e2 fix: fields should not remove initially set invalid status on ready
Published by Haprog about 5 years ago
Live Demo →
API Documentation →
Published by pekam about 5 years ago
Live Demo →
API Documentation →
#415 feat: <vaadin-integer-field>
: new field component which prevents non-integer input
a8d76d1 fix: duplicate value-changed events from number-field buttons (#416)
Setting a number value causes the component to convert it to string and
thus change the value another time.
fix #413
Published by tulioag about 5 years ago
Live Demo →
API Documentation →
Published by tulioag about 5 years ago
Live Demo →
API Documentation →
Published by Haprog about 5 years ago
Live Demo →
API Documentation →
f49fa9b fix: stuck in invalid state after last validation constraint is removed while invalid (#400, #401)
2c9c8aa test: fix flaky tests (#403)
Published by Haprog about 5 years ago
Live Demo →
API Documentation →
30415e8 fix: stuck in invalid state after last validation constraint is removed while invalid (#400, #401)
90a44c9 test: fix flaky tests (#403)
Published by Haprog about 5 years ago
Live Demo →
API Documentation →
5ab1d22, d5795f0 fix(number-field): step up/down buttons don't work with some values (#395)
73926d3 Don't adjust decimal places based on step, fix decimal calc (#381)
Published by Haprog about 5 years ago
Live Demo →
API Documentation →
9ec4228, 63a7eb7 fix(number-field): step up/down buttons don't work with some values (#395)
827b839 Don't adjust decimal places based on step, fix decimal calc (#381)
Published by pekam over 5 years ago
Live Demo →
API Documentation →
Published by web-padawan over 5 years ago
Live Demo →
API Documentation →
Improve a11y for using the component in <vaadin-select>
(#392)
Ensure Material text-field label does not overflow (#391)
a11bc6a fix(a11y): improve for <vaadin-select>
use case (#392)
5b80fea fix(material): ensure long label does not overflow (#391)
Published by web-padawan over 5 years ago
Live Demo →
API Documentation →
Fixed number-field to support Lumo align-right
theme variant (#390)
Demo updates and improvements
c36ca71 fix(lumo): right alignment for number-field with controls (#390)
3a70446 docs: minor demo updates and cleanup [skip ci] (#387)
c6e6921 docs: reorganise and update demos [skip ci]
Published by web-padawan over 5 years ago
Live Demo →
API Documentation →
Number-field: min
, max
and step
properties are reflected to attributes (#284)
iron-resize
event is now consistently dispatched for height changes (#383)
change
event is now correctly dispatched when clearing using Esc (#382)
338b26d fix: dispatch iron-resize event to notify for height changes (#383)
d4f2584 fix(number-field): reflect to attribute properly (#384)
22af86b Dispatch change on ESC clearing the value, add test (#382)
387f81e chore: update vaadin-demo-helpers to 3.0.0 [skip ci]
f3e6e45 chore(ci): pin Firefox version in travis to 66
Published by web-padawan over 5 years ago
Live Demo →
API Documentation →
Textarea border now looks properly when readonly is set after scroll
Number field controls touch size increased to better work on mobile
e7fb51a fix(lumo): remove readonly textarea negative margin (#380)
86ca77f docs: update demos to align with Flow counterpart (#373) [skip ci]
ecd8893 fix(lumo): fix border on scrolled readonly textarea (#377)
d438a2b fix: increase touch target for number field buttons (#363)
68a9eba Remove _valueClearing on mouseleave (#371)
Published by Haprog over 5 years ago
Live Demo →
API Documentation →
cc21911 fix: make it possible to detect clear button as the source for input and change events (#369)
Add property __fromClearButton = true
(private API for now) to the input
and change
events sent by the clear button.
Fixes #368