@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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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.
|
|
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.
|
|
130
|
+
const filterOption2 = props.options && props.options.filter((eachOption) => eachOption.value === value);
|
|
131
131
|
props.onChange(filterOption2);
|
|
132
132
|
}
|
|
133
133
|
};
|