@bpmn-io/properties-panel 3.30.1 → 3.31.0
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.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -2275,10 +2275,12 @@ function FeelTextfield(props) {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
2277
|
const handleOnBlur = e => {
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2278
|
+
if (e.target.type === 'checkbox') {
|
|
2279
|
+
onInput(e.target.checked);
|
|
2280
|
+
} else {
|
|
2281
|
+
const trimmedValue = e.target.value.trim();
|
|
2282
|
+
onInput(trimmedValue);
|
|
2283
|
+
}
|
|
2282
2284
|
if (onBlur) {
|
|
2283
2285
|
onBlur(e);
|
|
2284
2286
|
}
|