Expand my Community achievements bar.

SOLVED

Make Image (V3) Core Component Alternative Text Optional

Avatar

Community Advisor

Alternative Text is required field in Image (v3) Core Component. I extend image component in my project and update q:dialog with required={Boolean}false. Still I got error message although asterisk is not showing in this case.

Screenshot 2023-07-25 at 2.15.53 AM.png

Any Suggestion, how I can make the "Alternative Text" optional?

1 Accepted Solution

Avatar

Correct answer by
Employee

@Mahedi_Sabuj 

You need to override granite:class property as well to make alt field as non mandatory.

NishantSingh_0-1690263793651.png

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

@Mahedi_Sabuj 

You need to override granite:class property as well to make alt field as non mandatory.

NishantSingh_0-1690263793651.png