@acorex/components 16.19.21 → 16.19.22

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.
@@ -8589,19 +8589,19 @@ class AXPasswordBoxComponent extends AXBaseTextComponent {
8589
8589
  constructor(cdr, ref) {
8590
8590
  super(cdr, ref);
8591
8591
  this.cdr = cdr;
8592
+ afterNextRender(() => {
8593
+ if (this.allowAutocomplete()) {
8594
+ this.type = 'password';
8595
+ }
8596
+ else {
8597
+ this.type = 'text';
8598
+ this.getInputElement()?.classList.add('ax-password-mask');
8599
+ }
8600
+ });
8592
8601
  }
8593
8602
  allowAutocomplete = input(false);
8594
8603
  type = 'text';
8595
8604
  eyeIcon = 'far fa-eye';
8596
- ngAfterViewInit() {
8597
- if (this.allowAutocomplete()) {
8598
- this.type = 'password';
8599
- }
8600
- else {
8601
- this.type = 'text';
8602
- this.getInputElement()?.classList.add('ax-password-mask');
8603
- }
8604
- }
8605
8605
  handleShowPassword() {
8606
8606
  if (this.allowAutocomplete()) {
8607
8607
  if (this.type === 'password') {