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

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,7 @@ 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
188
  props.onChange(filterOption2);
189
189
  }
190
190
  };
package/dist/index.mjs CHANGED
@@ -127,7 +127,7 @@ 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
131
  props.onChange(filterOption2);
132
132
  }
133
133
  };
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-Beta98",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",