Make Image (V3) Core Component Alternative Text Optional | Community
Skip to main content
Mahedi_Sabuj
New Participant
July 24, 2023
Solved

Make Image (V3) Core Component Alternative Text Optional

  • July 24, 2023
  • 1 reply
  • 671 views

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.
Best answer by Nishant-Singh

@mahedi_sabuj 

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

 

 

1 reply

Nishant-Singh
Nishant-SinghAccepted solution
Employee
July 25, 2023

@mahedi_sabuj 

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

 

 

Mahedi_Sabuj
New Participant
July 25, 2023

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

Mahedi Sabuj