Can change disk bus after disk creation
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -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" },
|
||||
|
Reference in New Issue
Block a user