AEM6.4 - Set file field to optional on Core components Image V1 | Community
Skip to main content
elizabethp60981
Level 3
October 30, 2018
Solved

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

  • October 30, 2018
  • 1 reply
  • 960 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 31, 2018

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