@bpmn-io/properties-panel 0.20.2 → 0.20.3

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 CHANGED
@@ -5110,7 +5110,7 @@ function FeelTextfield(props) {
5110
5110
  const editorRef = useShowEntryEvent(id);
5111
5111
  const containerRef = useRef();
5112
5112
  const feelActive = localValue.startsWith('=') || feel === 'required';
5113
- const feelOnlyValue = localValue.substring(1);
5113
+ const feelOnlyValue = localValue.startsWith('=') ? localValue.substring(1) : localValue;
5114
5114
  const [focus, _setFocus] = useState(undefined);
5115
5115
 
5116
5116
  const setFocus = (offset = 0) => {