File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3026,7 +3026,7 @@ declare namespace Xrm {
30263026 * A collection of all the controls on the form that interface with this attribute.
30273027 * @see {@link https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/collections External Link: Collections (Client API reference) }
30283028 */
3029- controls : Collection . ItemCollection < Controls . OptionSetControl > ;
3029+ controls : Collection . ItemCollection < Controls . MultiSelectOptionSetControl > ;
30303030 }
30313031
30323032 /**
Original file line number Diff line number Diff line change @@ -205,6 +205,9 @@ if (multiSelectOptionSetAttributeEnum !== null) {
205205 const multiSelectOptionEnumValue : TestMultiSelectOptionSet [ ] | null = multiSelectOptionSetAttributeEnum . getValue ( ) ;
206206}
207207
208+ // Demonstrate that controls on a MultiSelectOptionSetAttribute are typed as MultiSelectOptionSetControl
209+ multiSelectOptionSetAttribute ?. controls ; // $ExpectType ItemCollection<MultiSelectOptionSetControl> | undefined
210+
208211/// Demonstrate setFormNotification
209212
210213let level : Xrm . FormNotificationLevel ;
You can’t perform that action at this time.
0 commit comments