Deleting the Hostname from the first NIC deletes Hostname

Problem:
When creating a new Host with a 2nd Interface as the primary Interface and the automatically entered “DNS Name” in the 1st Interface is deleted, the Parameter “Host->Name” is also deleted.
No matter if i enter a new DNS Name in any other Interface or even reenter it in the first Interface.
Expected outcome:
No change in the Host Settings
Foreman and Proxy versions:
Foreman 1.21.3
Foreman and Proxy plugin versions:

Other relevant data:
i would call this a bug.

logs

I assume web UI? Can you use CLI as a workaround?

i know how to workaroung this. but i think it should be fixed.
why is the Host Name deleted when deleting the DNS Name ?

Please file a bug, state that this is only UI bug. I assume it only happens when you create via Create host form, when editing an existing host it works fine. If not, clearly state what does work and what does not. It’s a bug.