Make Image (V3) Core Component Alternative Text Optional | Community
Skip to main content
Mahedi_Sabuj
New Participant
Jul 24, 2023 8:23 PM UTC
Solved

Make Image (V3) Core Component Alternative Text Optional

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.

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nishant-Singh
Nishant-SinghAccepted solution
Employee
Jul 25, 2023 5:43 AM UTC

@mahedi_sabuj 

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

 

 

2 replies

Nishant-Singh
Nishant-SinghAccepted solution
Employee
Jul 25, 2023 5:43 AM UTC

@mahedi_sabuj 

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

 

 

Translate
Mahedi_Sabuj
New Participant
Jul 25, 2023 7:20 AM UTC

Thanks @nishant-singh. It is working as expected.

Translate
Mahedi Sabuj