@fluid-topics/ft-text-field 1.2.22 → 1.2.24

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.
@@ -28,6 +28,7 @@ export declare class FtTextField extends FtTextField_base implements FtTextField
28
28
  filterSuggestions: boolean;
29
29
  maxLength?: number;
30
30
  password: boolean;
31
+ autocomplete?: string;
31
32
  focused: boolean;
32
33
  hidePassword: boolean;
33
34
  hideSuggestions: boolean;
@@ -99,6 +99,7 @@ class FtTextField extends toFtFormComponent(FtLitElement, "textbox") {
99
99
  name=${ifDefined(this.name)}
100
100
  maxlength=${ifDefined(this.maxLength || undefined)}
101
101
  aria-label="${this.label}"
102
+ autocomplete=${ifDefined(this.autocomplete)}
102
103
  class="ft-typography--body1 ft-text-field--input"
103
104
  part="input"
104
105
  ?disabled=${this.disabled}
@@ -309,6 +310,9 @@ __decorate([
309
310
  __decorate([
310
311
  property({ type: Boolean })
311
312
  ], FtTextField.prototype, "password", void 0);
313
+ __decorate([
314
+ property({ type: String })
315
+ ], FtTextField.prototype, "autocomplete", void 0);
312
316
  __decorate([
313
317
  state()
314
318
  ], FtTextField.prototype, "focused", void 0);