]> git.proxmox.com Git - pve-manager.git/commit
ui: guest import: avoid view-model race on setting os type
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Mar 2024 13:52:31 +0000 (14:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Mar 2024 14:17:43 +0000 (15:17 +0100)
commit0dca5cdabdae33662e1e81f49ff310aa6fb0dac8
tree9be22607e8edbea12111b1f64d32594bf3a0f7fe
parent202dc899e7c4a68e6dab580d03db4c2167133247
ui: guest import: avoid view-model race on setting os type

Use the default value of the field also as start value in the
viewModel, as other wise the two-way binding can cause the empty
string to be set to the field's value, not vice-versa.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js