Expand my Community achievements bar.

SOLVED

AEM6.4 - Set file field to optional on Core components Image V1

Avatar

Level 3

Hi,

I am using image V1 from core components. The image file field is a mandatory field and I need this to be optional.

On Granite UI documentation it says that the fileUpload has the required property, but when I use it and set to false it does not work on 6.4 version.

How can I set the file image to optional with core components image V1?

Thank you in advance!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I checked v1 in 6.3 , there is no required(Boolean)=true or allowBlank(Boolean)=true property set and it is allowing me to save dialog without image.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

I checked v1 in 6.3 , there is no required(Boolean)=true or allowBlank(Boolean)=true property set and it is allowing me to save dialog without image.



Arun Patidar