formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.87k stars 1.06k forks source link

Builder events stop when Calendar widget or DateTime field is used #5228

Open binarybasher opened 1 year ago

binarybasher commented 1 year ago

Using the Form Builder to create forms with form.io v4.14.x and v4.15.0

To be specific, if you add a 'datetime' field or a text field and use the 'calendar' widget, the 'saveComponent', 'change' and 'deleteComponent' events do not fire for any components.

If you remove the calendar widget from the text field or remove the 'datetime' field, everything is working again.

No errors in the console.

For context, we're using the form.io builder to save the form configuration in an external system, it integrates using the event hooks.

travist commented 1 year ago

This is really strange and thanks for reporting it. Have you tried this with our 5.x version of the renderer/builder? There have been many changes and fixes pulled into that version and I am curious if it works there. For reference, you need to use the following package for 5.x

npm install @formio/js
grandmasteralexandr commented 9 months ago

Have this problem too on v4.14

oleksandr-okuniev-onix commented 9 months ago

@travist This problem occurs when any language other than the default "en" is set in options on v4.14

lane-formio commented 2 weeks ago

Revisiting this issue. Has anyone experienced this on later versions? Can you try on the latest 5.0.0-rc?