Image based provisioning on Foreman 3.14

Problem:
On Foreman 3.14 / Katello 4.16 the image based host deployment seems to have some gui issues.
During the host deployment within the “Operating system” tab the gui doesn’t change the available options after switching the provisioning method from network based to image based.
Therefore the image cant be chosen.

Expected outcome:
Selecting Image based Provisioning Method removes most fields and asks only for image and root password as it does on Foreman 3.13/Katello 4.15

Foreman and Proxy versions:
Foreman 3.14 / Katello 4.16
Foreman and Proxy plugin versions:
Foreman 3.14 / Katello 4.16
Distribution and version:
RHEL9
Other relevant data:

Is this a general bug or sth. related to my environment? The issue is not present on 3.13.

I am experiencing the exact same problem after updating Foreman 3.13 to 3.14 on AlmaLinux 9. I have had to revert to 3.13 because of this issue.

@lstejska Do you know of anything that might have broken or changed from 3.13 to 3.14 around image based deployments and the host create form?

My wild guess would be jQuery updates, cc @MariaAga

Yeah, we over fixed things and broke it
fix here: Fixes #38346 - in host create, selecting image mode does nothing by MariaAga · Pull Request #10509 · theforeman/foreman · GitHub

I see that the fix is merged to 3.14-stable, will (deb) packages be updated soon after?
For now I applied the fix manually on my /usr/share/foreman/public/assets/host_edit-<some-hash>.js, but I’m not sure how persistent that is.

Correction: Also needed to replace the gzip of the js file with the gzipped patched js file to make it work.