You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what you did
I am working on my third party module conversion and need a CheckboxesContainer that by defaults have one item checked.
On settings-content.tsx
<FieldContainerattrName="overlayData.innerContent"label={__('Data In Overlay','dp-ddg')}description={__('Choose the elements you would like displayed over the image in the overlay.','dp-ddg')}features={{sticky: false,hover: false,responsive: false,}}defaultAttr={defaultSettingsAttrs?.overlayData?.innerContent}visible={showOverlay==='on'}><CheckboxesContaineroptions={[{value: 'title',label: __('Title','dp-ddg')},{value: 'caption',label: __('Caption','dp-ddg')},{value: 'description',label: __('Description','dp-ddg')},]}/>
Problem Description
I am working on my third party module conversion and need a CheckboxesContainer that by defaults have one item checked.
On settings-content.tsx
On module-json
Describe what you expected to happen
I expected to see the default values on the checkboxes checked when the module is added for the first time.
Describe what actually happened
The checkboxes show with no value checked. But if I log the option value I can see the default values
Related Links or Information
If applicable, please provide links to any related issues, PRs, discord discussions, or other information.
Screenshot and/or gif
System Information
Due Diligence Checklist
The text was updated successfully, but these errors were encountered: