UI-only field's value disappears after saving

I have a skuid page with 2 UI-Only fields. These 2 fields get populated by a snippet that runs on page load. The issue is that whenever a change is made to any other field and the page is saved, the values disappear and both fields become blank.
Is there a way to make the field values persist after hitting the save button?

Hi adibkhan707, if possible, you could share a page XML here, that would make it easier for others to help you. We recommend simplifying the page as much as possible: How to create a good test page