Skip to content

Commit

Permalink
Fixed #126 Select All with Grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
MscrmTools committed Dec 16, 2022
1 parent 68e749a commit 7ed4ca5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MscrmToolsPCFControls/src/Other/Solution.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<LocalizedName description="MscrmTools PCF Controls" languagecode="1033" />
</LocalizedNames>
<Descriptions />
<Version>1.12.1.0</Version>
<Version>1.12.1.1</Version>
<!-- Solution Package Type: Unmanaged(0)/Managed(1)/Both(2)-->
<Managed>2</Managed>
<Publisher>
Expand Down
2 changes: 1 addition & 1 deletion NNCheckboxes/NNCheckboxes/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest>
<control namespace="MscrmTools" constructor="NNCheckboxes" version="1.0.84" display-name-key="NNCheckboxes_Display_Key" description-key="NNCheckboxes_Desc_Key" control-type="standard" preview-image="imgs/nncheckboxes.png">
<control namespace="MscrmTools" constructor="NNCheckboxes" version="1.0.85" display-name-key="NNCheckboxes_Display_Key" description-key="NNCheckboxes_Desc_Key" control-type="standard" preview-image="imgs/nncheckboxes.png">
<data-set name="nnRelationshipDataSet" display-name-key="nnRelationshipDataSet_Display_Key">
<property-set name="displayAttribute" display-name-key="targetEntity_Display_Key" description-key="targetEntity_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
<property-set name="backgroundColorAttribute" display-name-key="backgroundColorAttribute_Display_Key" description-key="backgroundColorAttribute_Desc_Key" of-type-group="colorTypes" usage="bound" required="false" />
Expand Down
4 changes: 2 additions & 2 deletions NNCheckboxes/NNCheckboxes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export class NNCheckboxes implements ComponentFramework.StandardControl<IInputs,
let input = thisCtrl._useToggleSwitch ?
<HTMLInputElement>items[i].firstChild?.firstChild || null:
<HTMLInputElement>items[i].firstChild?.firstChild?.nextSibling || null;
if(input && !input.checked){
if((<HTMLDivElement>items[i]).style.display !== "none" && input && !input.checked){
input.click();
}
}
Expand All @@ -395,7 +395,7 @@ export class NNCheckboxes implements ComponentFramework.StandardControl<IInputs,
let input = thisCtrl._useToggleSwitch ?
<HTMLInputElement>items[i].firstChild?.firstChild || null:
<HTMLInputElement>items[i].firstChild?.firstChild?.nextSibling || null;
if(input && input.checked){
if((<HTMLDivElement>items[i]).style.display !== "none" && input && input.checked){
input.click();
}
}
Expand Down

0 comments on commit 7ed4ca5

Please sign in to comment.