ngx-render-material-forms 1.2.3 → 1.2.4

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.
@@ -2621,7 +2621,12 @@ class MaterialSelectComponent extends MaterialComponent {
2621
2621
  const enpageSize = this.scrumble(pageSize);
2622
2622
  const ensearchQuery = this.scrumble(searchQuery);
2623
2623
  const enactive = this.scrumble(onlyActive);
2624
- const endescription = this.scrumble(includeDescription);
2624
+ // const endescription = this.scrumble(includeDescription);
2625
+ // Scrumble and handle the includeDescription parameter
2626
+ let endescription = this.scrumble(includeDescription);
2627
+ if (!endescription) {
2628
+ endescription = this.scrumble(false); // Set to 'false' if undefined, null, or blank
2629
+ }
2625
2630
  const baseUrlMapping = {
2626
2631
  'localhost': 'http://localhost:58504',
2627
2632
  'lincoln.vartopia.com': 'https://lincoln-api.vartopia.com',