<upload id="ssm_businessInformationForm"/>
Hello @hon.jan,
You can use fileUploadField
and set required=true
in the XML descriptor or in the View Controller.
https://demo.jmix.io/ui-samples/sample/file-upload-field?tab=file-upload-field.xml
For example:
<fileUploadField id="uploadField" required="true"/>
Result:
For the Upload component, you must do the logic yourself.
Please follow the forum rules and describe the problem in more detail: https://forum.jmix.io/guidelines
Regards,
Nikita
I want this kind of design
If don’t wanna set it required, and just check it if null or not. But how using < upload >?