(New UI) Storage/Pools/Create Pool: update "Save" button functionality
I'm testing the new UI with a FreeNAS system updated to the latest FreeNAS-11-Nightly version.
I started to create a new pool and noticed the "Save" button becomes available after entering a name for the pool, but before I have added any disks. I looked at it with Warren and Dennis, and it looks like the functionality should be updated to keep that button unavailable until a disk is also moved out of the "Available Disks" list.
#1 Updated by Anonymous over 3 years ago
- Target version changed from 11.2-BETA1 to 11.2-RC2
I have explored that functionality and it is kind of difficult to implement due to the way angular handles those things, will try to get it for 11.2 but I doubt it will make it to beta, for now the middleware doesn't let you save a blank pool
#3 Updated by Anonymous over 3 years ago
- Status changed from Screened to In Progress
- Assignee changed from Anonymous to Vaibhav Chauhan
This PR validates for two conditions that would prevent saving: not adding a data disk in create mode, not adding a disk to any vdev in extend mode and adding mistyped vdevs which is not supported by the middleware: https://github.com/freenas/webui/pull/805