]> git.proxmox.com Git - pve-installer.git/blobdiff - proxmox-tui-installer/src/views/bootdisk.rs
tui: bootdisk zfs config: add a maximum value to the `copies` option
[pve-installer.git] / proxmox-tui-installer / src / views / bootdisk.rs
index 00e6ade9716a2f100dc4b9a0fffd87257b6cb417..7e13e91f7adf88d2065b85d17e3d1972e2ac9478 100644 (file)
@@ -592,7 +592,7 @@ impl ZfsBootdiskOptionsView {
                             .unwrap_or_default(),
                     ),
             )
-            .child("copies", IntegerEditView::new().content(options.copies))
+            .child("copies", IntegerEditView::new().content(options.copies).max_value(3))
             .child_conditional(
                 is_pve,
                 "ARC max size",