chrv-components 1.12.240 → 1.12.241

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.
Binary file
@@ -5050,7 +5050,9 @@ class ChrSearchSelectInputComponent extends ChrInputComponent {
5050
5050
  super();
5051
5051
  this.data = input([], /* @ts-ignore */
5052
5052
  ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
5053
- this.display = input((v) => v || '', /* @ts-ignore */
5053
+ this.display = input((v) => 'toString' in v && typeof v['toString'] == 'function'
5054
+ ? v.toString()
5055
+ : String(v), /* @ts-ignore */
5054
5056
  ...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
5055
5057
  /**
5056
5058
  * Force the value to be null when the user types.
@@ -5100,7 +5102,9 @@ class ChrTagSelectInputComponent extends ChrInputComponent {
5100
5102
  super();
5101
5103
  this.data = input([], /* @ts-ignore */
5102
5104
  ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
5103
- this.display = input((v) => v || '', /* @ts-ignore */
5105
+ this.display = input((v) => 'toString' in v && typeof v['toString'] == 'function'
5106
+ ? v.toString()
5107
+ : String(v), /* @ts-ignore */
5104
5108
  ...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
5105
5109
  this.selectedItems = computed(() => {
5106
5110
  const val = this.value();