bpmn-io / properties-panel

Library for creating bpmn-io properties panels.
MIT License
31 stars 21 forks source link

Integrate `first-item` FEEL validation gracefully, as a warning #381

Closed nikku closed 1 month ago

nikku commented 1 month ago

Proposed Changes

This ensures that first-item is not indicated as a hard error, but a warning. It also prevents first-item matches, along with any non-syntax errors, from showing off as a Unparseable FEEL expression syntax error.

capture 1K2elv_optimized

Try out via

npx @bpmn-io/sr bpmn-io/bpmn-js-properties-panel -l bpmn-io/properties-panel#first-item-warning

Related to https://github.com/bpmn-io/bpmn-js-properties-panel/issues/1078

Checklist

To ensure you provided everything we need to look at your PR: