Hello to everyone
Why in jmix version 2.1 FieldComponentValueChange handler is triggered when you want to edit some entity?.
got this:
@Subscribe("descripcionField")
public void onDescripcionFieldComponentValueChange(final AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event)
{
dialogs.createMessageDialog()
.withText("Handler is triggered on edit")
.open();
}
no other code line in the DetailView.java
Normally this should be triggered when I change the value in the “descripcion” field… and it does!!
But “Edit” triggers too this function.
Seems like the DetailView open with no value on their fields and after init it put the values.
Thank you in advance for your time.