Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### What changes were proposed in this pull request? The validation schema for the `key` field within the `propItems` array was modified to allow hyphens in file names. The regular expression for the `key` was updated to: ```js /^[a-zA-Z_][a-zA-Z0-9_-]*$/ ``` ### Why are the changes needed? Fix: issue #6399 The UI was incorrectly rejecting file names containing hyphens when creating a fileset, even though hyphens were allowed in the name specification. The changes ensure that hyphens are properly validated as part of the file name. ### Does this PR introduce any user-facing change? Yes, this PR allows users to use hyphens in file names when creating a files ### How was this patch tested? The changes were tested by creating filesets with hyphens in the names via the UI, ensuring they were accepted correctly. --------- Co-authored-by: Qian Xia <lauraxiaqian@gmail.com>
- Loading branch information