Directory

← Back

Spellcheck for Vaadin

Spellcheck AddOn for TextFields

Author

Rating

Popularity

<100

It checks the spelling as you type in a TextField and adds the StyleName spellcheck-error on wrong spelling.

We have not defined this style in the addon, it is left for the user to do it, for example, below style makes the textbox Red on spelling error, you need to add this in your styles.css file

.spellcheck-error { background-color: red !important; }

It comes with preloaded dictionary with option to add few words or use a new dictionary all together, it uses jazzy library for spellcheck. http://jazzy.sourceforge.net/

Sample code


org.hs18.vaadin.spellcheck.SpellCheck spellChecker = new SpellCheck();//Empty constructor usage default dictionary
spellChecker.addToDictionary("Vaadin");//optional to add your own words into dictionary


TextField textField = new TextField();
spellChecker.addSpellCheck(textField);

Compatibility

(Loading compatibility data...)

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

Fixed a performance issue while using default dictionary

Released
2014-04-03
Maturity
BETA
License
GNU Lesser General Public License v3.0 only

Compatibility

Framework
Vaadin 7.1+
Vaadin 7.0+ in 1.0.1
Browser
N/A

Spellcheck for Vaadin - Vaadin Add-on Directory

Spellcheck AddOn for TextFields Spellcheck for Vaadin - Vaadin Add-on Directory
It checks the spelling as you type in a TextField and adds the StyleName spellcheck-error on wrong spelling. We have not defined this style in the addon, it is left for the user to do it, for example, below style makes the textbox Red on spelling error, you need to add this in your styles.css file .spellcheck-error { background-color: red !important; } It comes with preloaded dictionary with option to add few words or use a new dictionary all together, it uses jazzy library for spellcheck. http://jazzy.sourceforge.net/
Issue Tracker
Source Code
Demo Source Code
Online Demo

Spellcheck for Vaadin version 1.0.1
Addon for checking spelling as you type in TextField and change the style of the TextField on spelling error.

Spellcheck for Vaadin version 1.0.2
Fixed a performance issue while using default dictionary

Online