6.3 Image Upload through Dialog - Validation doesn't work

Avatar

Avatar

KiranK_Edem

Avatar

KiranK_Edem

KiranK_Edem

13-03-2018

Hi All,

I am using the image upload in the dialog and I have added the required property and set it to true. But it doesn't seem to work. My configuration is as below.

Screen Shot 2018-03-13 at 9.13.33 AM.png

Firstly, when the dialog is opened - I can see the star mark coming against the feild Label but when I save the dialog, validation is not getting triggered and the dialog is accepting with out any image.

Secondly, When I drop an image into the image field, then it shows the validation message as shown below.

Screen Shot 2018-03-13 at 9.19.03 AM.png

Are these defects in 6.3? Any help is greatly appreciated.

Accepted Solutions (0)

Answers (8)

Answers (8)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

955

Correct Answer

(val/1000)?string[".0"]}K

Avatar

kautuk_sahni

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

955

Correct Answer

(val/1000)?string[".0"]}K
kautuk_sahni
Community Manager

06-04-2018

Hemant arora Any help here?

Avatar

Avatar

poojapanwar27

Avatar

poojapanwar27

poojapanwar27

03-04-2018

Hi Hemant,

We have been facing same issue. Did you get a chance to look at the issue?

Thanks

Avatar

Avatar

KiranK_Edem

Avatar

KiranK_Edem

KiranK_Edem

13-03-2018

For me validation never triggered first of all.

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

13-03-2018

i see some issue with the required property.  looking for a possible solution

on adding the required property , validation works but when i drag drop a new image, i am not able to submit the dialog

Avatar

Avatar

KiranK_Edem

Avatar

KiranK_Edem

KiranK_Edem

13-03-2018

Hi Hemanth,

I have added the property to OOTB V1 component, it doesn;t work in OOTB and We Retail also.

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

13-03-2018

1441145_pastedImage_0.png

Avatar

Avatar

KiranK_Edem

Avatar

KiranK_Edem

KiranK_Edem

13-03-2018

Thanks Hemanth. Could you please paste your CRX Structure screenshot please?

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

13-03-2018

I am not able to reproduce the issue. Its working fine with required true property. Its not allowing me to submit without adding image.

Please check all the properties again. You seem to have created a custom component. Please share the code package to test.

1441096_pastedImage_0.png