How to bind custom fields and sync form data on admin badge page

I don’t currently have the time to dig into this issue or remember how I did it, but this repo should have an implementation of extending the badge saving functionality

https://github.com/ScottMastro/discourse-badge-progress