- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 11:51 AM
Hey @James Chun, I actually just was able to figure out the issue... there is a function spUtil.simulateFakeFormSubmitForAutoComplete('widget-form', $scope.data.f._fields) that gets called within the function constructResponseHandler() in the client script of the form widget (ID: widget-form). I can't find any documentation on this specific function and have reached out to HIWAVE for more info... but commenting out this code seems to fix the inputs disappearing.
spUtil.simulateFakeFormSubmitForAutoComplete() function, which causes inputted fields to disappear
I figured this out by looking for when/how the widget data gets loaded. Sure enough, when the UI action completes (per the screenshot below) the loadForm() function gets called and then this constructRespondHandler() function gets called. At the end, this fakeSubmit thing happens.
widget-form client script (loadForm() function)
I'll update this thread when I hear back from HIWAVE. Until then... thanks for your help debugging! Hope this helps someone in the future.