Browse Source

Merge branch 'main' into feature/add-live-preview-of-date-and-number-format-to-user-settings

pull/7558/head
Thomas Kaul 3 weeks ago
committed by GitHub
parent
commit
42820d73e6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 7
      libs/ui/src/lib/shared/abstract-mat-form-field.ts

4
CHANGELOG.md

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added a live preview of the date and number format to the user settings - Added a live preview of the date and number format to the user settings
### Changed
- Migrated the abstract _Material_ form field from a component to a directive
## 3.43.0 - 2026-08-06 ## 3.43.0 - 2026-08-06
### Added ### Added

7
libs/ui/src/lib/shared/abstract-mat-form-field.ts

@ -1,7 +1,7 @@
import { FocusMonitor } from '@angular/cdk/a11y'; import { FocusMonitor } from '@angular/cdk/a11y';
import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { coerceBooleanProperty } from '@angular/cdk/coercion';
import { import {
Component, Directive,
DoCheck, DoCheck,
ElementRef, ElementRef,
HostBinding, HostBinding,
@ -13,10 +13,7 @@ import { ControlValueAccessor, NgControl, Validators } from '@angular/forms';
import { MatFormFieldControl } from '@angular/material/form-field'; import { MatFormFieldControl } from '@angular/material/form-field';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
@Component({ @Directive()
template: '',
standalone: false
})
export abstract class AbstractMatFormField<T> export abstract class AbstractMatFormField<T>
implements ControlValueAccessor, DoCheck, MatFormFieldControl<T>, OnDestroy implements ControlValueAccessor, DoCheck, MatFormFieldControl<T>, OnDestroy
{ {

Loading…
Cancel
Save