PowerApps-Samples
PowerApps-Samples copied to clipboard
MultiSelectOptionSetControl - OptionSet Options undefined
PowerApps-Samples/component-framework/MultiSelectOptionSetControl/MultiSelectOptionSetControl
Error occured during initilization of control: SampleNamespace.MultiSelectOptionSetControl;Message: Cannot read properties of undefined (reading 'forEach') TypeError: Cannot read properties of undefined (reading 'forEAch') at multiSelectOptionSetControl.init
Options property is undefined: // Create a select option for each option specified by the target OptionSet and add it to the dropdown (context.parameters.controlValue as ComponentFramework.PropertyTypes.MultiSelectOptionSetProperty).attributes?.Options.forEach