BlueShoes EditableListBox Example 3
This is an example of the Editable List Box component.
- Shows how a value manipulation can be implemented. Once a new value is added it is checked for spaces, and if some are found, they are replaced with underscores, the wrong value is removed and the replaced one is added. So go ahead and add a value with spaces in between (values are trimmed by default, see the 'trim' setting).
- Registering an event before adding default values; thus the event is fired for those addValue() calls too.