@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.js CHANGED
@@ -2296,10 +2296,12 @@ function FeelTextfield(props) {
2296
2296
  }
2297
2297
  };
2298
2298
  const handleOnBlur = e => {
2299
- const trimmedValue = e.target.value.trim();
2300
-
2301
- // trim and commit on blur
2302
- onInput(trimmedValue);
2299
+ if (e.target.type === 'checkbox') {
2300
+ onInput(e.target.checked);
2301
+ } else {
2302
+ const trimmedValue = e.target.value.trim();
2303
+ onInput(trimmedValue);
2304
+ }
2303
2305
  if (onBlur) {
2304
2306
  onBlur(e);
2305
2307
  }