@po-ui/ng-components 19.39.14 → 19.39.15

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.
@@ -32389,7 +32389,9 @@ class PoInputGeneric extends PoInputBaseComponent {
32389
32389
  return new RegExp(pattern).test(value);
32390
32390
  }
32391
32391
  clear(value) {
32392
+ this.onTouched?.();
32392
32393
  this.callOnChange(value);
32394
+ this.valueBeforeChange = undefined;
32393
32395
  this.controlChangeEmitter();
32394
32396
  if (this.errorAsyncProperties?.triggerMode === 'changeModel') {
32395
32397
  this.verifyErrorAsync();
@@ -37420,7 +37422,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
37420
37422
  closeTag(value, event) {
37421
37423
  let index;
37422
37424
  this.enterCloseTag = true;
37423
- if (value === null || value === undefined || (typeof value === 'string' && value.includes('+'))) {
37425
+ if (value == null || value === '' || (typeof value === 'string' && value.includes('+'))) {
37424
37426
  index = null;
37425
37427
  const itemsNotInVisibleTags = this.selectedOptions.filter(option => !this.visibleTags.includes(option));
37426
37428
  for (const option of this.visibleTags) {