Previously I remember that in CUBA the length of a field was automatically respected in the view of a screen, but now I see that it is not taken into account. Is this behavior normal?
Table
Screen
Exception
Regards,
Nelson F.
Previously I remember that in CUBA the length of a field was automatically respected in the view of a screen, but now I see that it is not taken into account. Is this behavior normal?
Table
Screen
Exception
Regards,
Nelson F.
Hello,
Thank you for reporting a problem! I created an issue: Haulmont/jmix-ui#733.
For now, you can set max length in the screen controller:
@Autowired
private TextField<String> nameField;
@Subscribe
public void onInit(InitEvent event) {
nameField.setMaxLength(2);
}