@ascentgl/ads-ui 0.0.145 → 0.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2696,6 +2696,19 @@ class AdsCheckboxComponent extends AbstractBaseComponent {
2696
2696
  this.width = 'fit-content';
2697
2697
  }
2698
2698
  /** @ignore */
2699
+ ngOnInit() {
2700
+ this.valueChangeSub = this.valueControl.valueChanges.subscribe(() => {
2701
+ if (!this.valueControl.dirty) {
2702
+ this.valueControl.markAsDirty();
2703
+ }
2704
+ if (!this.valueControl.touched) {
2705
+ this.valueControl.markAsTouched();
2706
+ }
2707
+ // Only want this to happen once
2708
+ this.valueChangeSub?.unsubscribe();
2709
+ });
2710
+ }
2711
+ /** @ignore */
2699
2712
  ngOnChanges(changes) {
2700
2713
  if (changes.required) {
2701
2714
  if (this.required) {