diff --git a/package.json b/package.json index 4cb2654ef4..dcf2d912cf 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "build-storybook": "storybook build" }, "dependencies": { - "@canonical/maas-react-components": "1.4.1", + "@canonical/maas-react-components": "1.5.0", "@canonical/macaroon-bakery": "1.3.2", "@canonical/react-components": "0.46.0", "@reduxjs/toolkit": "1.9.3", diff --git a/src/app/kvm/components/KVMForms/ComposeForm/StorageTable/PoolSelect/PoolSelect.tsx b/src/app/kvm/components/KVMForms/ComposeForm/StorageTable/PoolSelect/PoolSelect.tsx index 41a4490a9d..38581a08a5 100644 --- a/src/app/kvm/components/KVMForms/ComposeForm/StorageTable/PoolSelect/PoolSelect.tsx +++ b/src/app/kvm/components/KVMForms/ComposeForm/StorageTable/PoolSelect/PoolSelect.tsx @@ -131,8 +131,10 @@ const generateDropdownContent = ( value: free >= 0 ? free : 0, }, ]} - label={ - free >= 0 ? ( + max={pool.total} + > + + {free >= 0 ? (