forked from rockstor/rockstor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add form validation for share selected multiple times rockstor#2064
Selecting the same share to be bound to multiple volumes of the same container is not yet supported by Rockstor. Add a new validation rule isDuplicate to detect such instances of a share being selected as the option for more than one volume and return a specific error message accordingly.
- Loading branch information
1 parent
ac664dc
commit 2a7b041
Showing
1 changed file
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters