Skip to content

Commit

Permalink
Merge pull request #70 from episerver/bugfix/aform-3847-Multi-Single-…
Browse files Browse the repository at this point in the history
…Choice-and-ImageChoice-Missing-tooltip

Add tooltip to Choice element
  • Loading branch information
epi-qang2 authored Jan 4, 2024
2 parents 77dd02a + 9a16b66 commit e0cc4f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export interface ChoiceElementBlockProps {
export const ChoiceElementBlock = (props: ChoiceElementBlockProps) => {
const { element } = props;
const { elementContext, handleChange, handleBlur } = useElement(element);
const { isVisible, validationResults, value, validatorClasses } = elementContext;
const { isVisible, validationResults, value, validatorClasses, extraAttr } = elementContext;

return useMemo(()=>(
<ElementWrapper className={`FormChoice ${validatorClasses}`} validationResults={validationResults} isVisible={isVisible}>
<ElementWrapper className={`FormChoice ${validatorClasses}`} validationResults={validationResults} isVisible={isVisible} extraAttr={extraAttr}>
<fieldset aria-describedby={`${element.key}_desc`}>

{!isNullOrEmpty(element.properties.label) &&
Expand Down

0 comments on commit e0cc4f3

Please sign in to comment.