IGN-13898 Form Component - Unexpected Clearing of the Widgets on Enter Key Press

Hi All,

I’m messing around with 8.3 beta and enjoying some of the new features very much. One thing I am particularly interested in is the Form component in Perspective (pretty much everything I work on is in Perspective), but I am somewhat confused about the behavior of the Enter key when editing fields like a text widget, and that (seemingly all) other widgets in the form have their fields cleared when enter is pressed with no event fired and (again seemingly, as I may be missing something obvious here) no way to prevent/change this behavior.

For example, just creating another text field (or text area) widget in the default configuration that the Form gives you when you drag it in, giving the new one an ID (so it appears) and typing some text into the first field. Then, clicking on the second field and entering some text, but then pressing enter, causes the first field (and, for whatever reason, sometimes the second field) to be wiped clean. The data property updates just fine showing a now empty list, and if you click off of the field you’re focused on/editing to an empty area of the form or anywhere else on the page, the text stays just fine.

Is this finalized behavior/intentional and I’m missing something? Or is there something else going on, like a bug of some sort. Just doing a sanity check and hoping to get some input on this.

Thanks all.

1 Like

Thank you for bringing this to our attention. I was able to reproduce the issue, but I still need more information on what might have caused it. I’ll keep you updated—thanks again!

3 Likes

It seems the issue may be related to the 'Submit' action: disabling the "Submit" action appears to get re-enabled when pressing the Enter key. Notably, the issue doesn’t occur if the action bar is completely disabled.

We now have an internal bug ticket open to track this issue.

2 Likes

Thank you for looking into that so quickly. Sounds like something I should be able to work around temporarily since disabling the action bar prevents the issue from occurring, just will need some extra logic to maybe re-enable at some point in the form completion process or something like that. We definitely see a lot of value in the form for some of our projects so I appreciate you responding so fast. Have a great day!

2 Likes