I wanr to change dinamicatly the value of a TextField, several times in the same process, how can I do it?
ex:
@Subscribe("importBtn")
public void onTestButtonClick(final ClickEvent<JmixButton> event) {
processQtyField.setValue(1);
eventPublisher.publishEventForCurrentUI(new FooChangedEvent(this));
try {
Thread.sleep(5 * 1000);
} catch (InterruptedException ie) {
Thread.currentThread().interrupt();
}
processQtyField.setValue(2);
}
In the example, the value “1” is never showed, only is showed value “2”. Maybe is really basic, but I can found the correct method to do it. Any idea?
Thanks, Alvaro