Directory

← Back

BlockingTextField

TextField that blocks certain types of input

Author

Rating

Popularity

<100

A TextField and a DateField where you can allow only alphanumeric characters, characters from a restricted special character set set and/or set a minimum or maximum length.

Compatibility

0.10.20.30.40.4.10.50.60.70.81.01.11.21.3
(24.5)
(24.4)
(24.3)
(24.2)
(24.1)
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
8.0-8.21YYYY
7.7YYYYYYYYYYYY
7.0-7.6Y
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

BlockingDateField now updates the value on paste events.

Released
2020-03-25
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.7+
Vaadin 8.0+
Vaadin 7.0+ in 0.1
Browser
Firefox
Google Chrome
Internet Explorer
Microsoft Edge

BlockingTextField - Vaadin Add-on Directory

TextField that blocks certain types of input BlockingTextField - Vaadin Add-on Directory
A TextField and a DateField where you can allow only alphanumeric characters, characters from a restricted special character set set and/or set a minimum or maximum length.
Sources

BlockingTextField version 0.1
Initial release

BlockingTextField version 0.2

BlockingTextField version 0.3
Allow ÖÄÜß for alphanumerics, fix ' character behavior, firefox arrow keys fixes

BlockingTextField version 0.4
Allow specifying a custom list of allowed characters

BlockingTextField version 0.4.1
Java 6 support. Default behavior changed so that all allowed types are initially denied.

BlockingTextField version 0.5
Includes a BlockingDateField with similar functionality - you can specify the text field part of the datefield to only allow certain characters.

BlockingTextField version 0.6
Fixes an issue with deleting characters on FireFox

BlockingTextField version 0.7
Deleting characters is now allowed even if it results in an invalid state.

BlockingTextField version 0.8
Paste operations are now supported. If paste buffer contains unallowed characters, only allowed characters are pasted.

BlockingTextField version 1.0
First Vaadin 8 version. BlockingTextField versions equal and above 1.0 are for FW8, below 1.0 are for FW7.

BlockingTextField version 1.1
Fixed an issue where the $ key was not treated properly in Firefox

BlockingTextField version 1.2
Fixes for two issues: * Firefox was not correctly blocking #-characters * Selecting text made it possible to input an invalid character if the selection's length was greater than 1.

BlockingTextField version 1.3
BlockingDateField now updates the value on paste events.

Online