@apexcura/ui-components 0.0.13-Beta97 → 0.0.13-Beta99

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/dist/index.js CHANGED
@@ -184,7 +184,8 @@ var SelectElement = (props) => {
184
184
  const handleChange = (value) => {
185
185
  console.log("sigleselectvalue----", value);
186
186
  if (props.onChange) {
187
- const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
187
+ const filterOption2 = props.options && props.options.filter((eachOption) => eachOption.value === value);
188
+ console.log(filterOption2);
188
189
  props.onChange(filterOption2);
189
190
  }
190
191
  };
package/dist/index.mjs CHANGED
@@ -127,7 +127,8 @@ var SelectElement = (props) => {
127
127
  const handleChange = (value) => {
128
128
  console.log("sigleselectvalue----", value);
129
129
  if (props.onChange) {
130
- const filterOption2 = props.options && props.options.find((eachOption) => eachOption.value === value);
130
+ const filterOption2 = props.options && props.options.filter((eachOption) => eachOption.value === value);
131
+ console.log(filterOption2);
131
132
  props.onChange(filterOption2);
132
133
  }
133
134
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta97",
3
+ "version": "0.0.13-Beta99",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",