Deleting multitext sub-textfield and refreshing form doesn't recreate sub-textfield

If you delete a multitext sub-textfield and try to refresh the form with the original data, it won't recreate the sub-textfield when refreshing the form. The issue seems to be that calling setValue() on a subfield doesn't update the _known_value property of the the parent multitext field. So when the form is refreshed, it thinks the values are unchanged. Here is a snippet that illustrates the problem, along with a workaround:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!