@bnsights/bbsf-controls 1.0.76 → 1.0.78

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,14 +5,13 @@ 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.76 / 11-1-2022
8
+ ## 1.0.78 / 11-1-2022
9
9
  ===================
10
10
  * Solve Image Control Bug
11
11
 
12
- ## 1.0.75 / 11-1-2022
12
+ ## 1.0.77 / 11-1-2022
13
13
  ===================
14
14
  * Solve Image Control Bug
15
-
16
15
  ## 1.0.74 / 9-1-2022
17
16
  ===================
18
17
  * Add UI Changes
@@ -3592,7 +3592,7 @@
3592
3592
  if (!this.options.DefaultImageSrc)
3593
3593
  this.options.DefaultImageSrc = this.globalSettings.DefaultImageSrc;
3594
3594
  //Set img src by default value
3595
- this.ImageSource = this.options.DefaultImageSrc;
3595
+ // this.ImageSource = this.options.DefaultImageSrc;
3596
3596
  if (this.options.AllowImageCropper) {
3597
3597
  this.config = {
3598
3598
  aspectRatio: this.options.ImageCropperWidth / this.options.ImageCropperHeight,
@@ -3658,8 +3658,8 @@
3658
3658
  }
3659
3659
  this.group.addControl(this.options.Name, new forms.FormControl(''));
3660
3660
  this.ImageUploadFormControl = this.group.controls[this.options.Name]; // new FormControl('',validationRules);
3661
- // if (this.options.Value != null)
3662
- // this.group.get(this.options.Name).setValue(this.options.Value);
3661
+ if (this.options.Value != null)
3662
+ this.group.get(this.options.Name).setValue(this.options.Value);
3663
3663
  if (this.options.LabelKey != null && this.options.LabelKey != '')
3664
3664
  this.options.LabelValue = this.UtilityService.getResourceValue(this.options.LabelKey);
3665
3665
  if (this.options.CustomValidation.length > 0) {