Can change disk bus after disk creation
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-05-31 09:41:12 +02:00
parent 5fe481ffed
commit 0279907ca9
4 changed files with 60 additions and 23 deletions

View File

@ -4,12 +4,16 @@ import { SelectInput } from "./SelectInput";
export function DiskBusSelect(p: {
editable: boolean;
value: DiskBusType;
label?: string;
onValueChange: (value: DiskBusType) => void;
size?: "medium" | "small";
disableUnderline?: boolean;
disableBottomMargin?: boolean;
}): React.ReactElement {
return (
<SelectInput
{...p}
label="Disk bus type"
label={p.label ?? "Disk bus type"}
options={[
{ label: "virtio", value: "Virtio" },
{ label: "sata", value: "SATA" },