@gravitee/ui-particles-angular 7.28.2-use-autocomplete-options-only-7098370 → 7.28.2

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.
@@ -539,10 +539,6 @@ class GioFormTagsInputComponent {
539
539
  * called with `true` it will add the tag, otherwise it will just ignore it
540
540
  */
541
541
  this.tagValidationHook = undefined;
542
- /**
543
- * Set to true to force the chip to be part of the autocomplete options.
544
- */
545
- this.useAutocompleteOptionValueOnly = false;
546
542
  this._tagInput = null;
547
543
  this._value = null;
548
544
  // From ControlValueAccessor interface
@@ -702,9 +698,6 @@ class GioFormTagsInputComponent {
702
698
  this.addChipToFormControl({ value: event.option.value });
703
699
  }
704
700
  onMatChipTokenEnd() {
705
- if (this.useAutocompleteOptionValueOnly) {
706
- return;
707
- }
708
701
  // Give priority to the `onAutocompleteSelect` when validating with the blur event
709
702
  setTimeout(() => {
710
703
  this.addChipToFormControl({ value: this._tagInput?.nativeElement.value ?? '' });
@@ -730,7 +723,7 @@ class GioFormTagsInputComponent {
730
723
  }
731
724
  GioFormTagsInputComponent.nextId = 0;
732
725
  GioFormTagsInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioFormTagsInputComponent, deps: [{ token: i7.NgControl, optional: true, self: true }, { token: i0.ElementRef }, { token: i2$2.FocusMonitor }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
733
- GioFormTagsInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioFormTagsInputComponent, selector: "gio-form-tags-input", inputs: { ariaLabel: ["aria-label", "ariaLabel"], addOnBlur: "addOnBlur", tagValidationHook: "tagValidationHook", autocompleteOptions: "autocompleteOptions", displayValueWith: "displayValueWith", useAutocompleteOptionValueOnly: "useAutocompleteOptionValueOnly", placeholder: "placeholder", required: "required", disabled: "disabled" }, host: { properties: { "id": "this.id", "class.floating": "this.shouldLabelFloat", "attr.aria-describedby": "this.describedBy" } }, providers: [
726
+ GioFormTagsInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioFormTagsInputComponent, selector: "gio-form-tags-input", inputs: { ariaLabel: ["aria-label", "ariaLabel"], addOnBlur: "addOnBlur", tagValidationHook: "tagValidationHook", autocompleteOptions: "autocompleteOptions", displayValueWith: "displayValueWith", placeholder: "placeholder", required: "required", disabled: "disabled" }, host: { properties: { "id": "this.id", "class.floating": "this.shouldLabelFloat", "attr.aria-describedby": "this.describedBy" } }, providers: [
734
727
  {
735
728
  provide: MatFormFieldControl,
736
729
  useExisting: GioFormTagsInputComponent,
@@ -759,8 +752,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
759
752
  type: Input
760
753
  }], displayValueWith: [{
761
754
  type: Input
762
- }], useAutocompleteOptionValueOnly: [{
763
- type: Input
764
755
  }], tagInput: [{
765
756
  type: ViewChild,
766
757
  args: ['tagInput']