Hi all,
Using Vaadin v7.5.9, I have a textfield declared as follows:
TextField tf = new TextField();
tf.setNullRepresentation("");
tf.setNullSettingAllowed(true);
tf.setImmediate(true);
tf.addValueChangeListener( .. )
Now, if I programmatically set its value to the empty string…
tf.setValue("");
… and then retrieve its value in the ValueChangeListener…
String value = tf.getValue();
… the resulting
value
should be null, right? Or have i missed something?
Anyways,
value
turns out to be the empty string.
Is this a bug?