Closed Skaiir closed 1 month ago
The issue stems from the fact that newer versions of preact (correctly) serialize <option value={null}>label</option>
to <option>label</option>
, which is expected.
For sanity we should update the preact version we test on to 10.15.1 (we can't go further with this because of https://github.com/bpmn-io/form-js/issues/1216). This means changing the lockfile. Also, we need to use value "" instead of null to fix the actual bug.
Closed via https://github.com/bpmn-io/form-js/pull/1283
Describe the Bug
Whenever using more recent versions of preact, the default value is serialized as "" in the schema, we want it to be serialized as no value at all.
Steps to Reproduce
Expected Behavior