@bnsights/bbsf-controls 1.0.60 → 1.0.61

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.
package/README.md CHANGED
@@ -5,6 +5,10 @@ BBSF Controls package is part of BBSF 3 packages. It has all the form controls t
5
5
  For more info please visit [BBSF Controls documenation](https://bbsfadmin.bnsights.com/controls) or [BBSF documentation](https://bnsightsprojects.visualstudio.com/BBSF%203/_wiki/wikis/BBSF-3.wiki/65/BBSF-Documentation)
6
6
 
7
7
  # Change Log
8
+ ##1.0.61 / 10-10-2022
9
+ ===================
10
+ * Update tags input control validation (Handle unmatched selection when enabling add new selection)
11
+
8
12
  ##1.0.60 / 2-10-2022
9
13
  ===================
10
14
  * Update lang-mode cases in MultiLingualTextArea & MultiLingualTextBox controls
@@ -4639,7 +4639,7 @@
4639
4639
  }
4640
4640
  //Check if input is charachter
4641
4641
  else if (String.fromCharCode(event.keyCode).match(/(\w|\s)/g)) {
4642
- if (this.IsNoMatch == true && this.options.AllowNewSelection == false && key.selected) {
4642
+ if (this.IsNoMatch && key.selected && ((!this.options.AllowNewSelection) || event.key != "Enter")) {
4643
4643
  this.TagsFormControl.setErrors({ "errorMassage": this.options.NoResultText });
4644
4644
  this.TagsFormControl.markAsTouched();
4645
4645
  }