Mautic throws html code when selecting a default value ina form field

Your software
My Mautic version is: 5.0.3
My PHP version is: 8.1
My Database type and version is:

Your problem
My problem is: I am experiencing a strange problem while assigning a default value to the form fields. I am using a checkbox field and i am assigning a default value for it. But when i do that, it is throwing html code to the front-end. Is this a known bug in Mautic 5.0.3? could anyone help me with this?

Thanks,
Vishnu

Hi
I can confirm this.

Do you wanna open a github issue?

I also have this issue, using v5.1.0

Fixed in Mautic 5.1.1 onwards