formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Add submission as form creation option

Open paulfalgout opened this issue 3 years ago • 4 comments

I couldn't actually get the test to run. Too many failing tests, but this works in a jsfiddle for at least the use cases I'm aware of.

Solves: https://github.com/formio/formio.js/issues/3687 ~~Fixes: https://github.com/formio/formio.js/issues/3684~~. It addresses this issue, but this issue is still broken if you're using the submission in the regular fashion of setting it in the then

paulfalgout avatar Feb 07 '22 20:02 paulfalgout

Screen Shot 2022-02-13 at 11 52 35 PM FWIW on a datagrid if this is set to true it'll clear out the related data on a submission set at instantiation

paulfalgout avatar Feb 13 '22 14:02 paulfalgout

I like it!!! We are working on the failing tests but I see no reason to include this in the 4.15.x version

travist avatar Feb 15 '22 20:02 travist

@travist been using this for a couple of weeks now by just overriding the prototype and honestly it's cleared up a lot of quirks we were working around.

paulfalgout avatar Feb 16 '22 05:02 paulfalgout

Hi @paulfalgout , could you give me an example of how you are overriding the prototype to get this functionality? There are couple of features I want to use but currently waiting on merges.

TriStarGod avatar Sep 24 '22 01:09 TriStarGod

This will be part of the 5.x release! Thank you for your contribution!

travist avatar Jul 26 '23 17:07 travist