diff options
author | Huy Le Anh <hule@amperecomputing.com> | 2024-12-04 12:16:01 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2025-01-13 10:18:49 +0300 |
commit | b2ca5a5a8f66912c7de6c0a494f1c253778c6f59 (patch) | |
tree | 027c91e3deb97a8e5d5c22a9dcf9ae124526de39 /docs/guide/components/file-upload | |
parent | 0c1dcc96f433046d8d0f9064739509013af358c3 (diff) | |
download | webui-vue-b2ca5a5a8f66912c7de6c0a494f1c253778c6f59.tar.xz |
Fix date format regex check
The regex formula for formatting dates is no longer correct after
upgrading to Vue3. This commit corrects it by adding a `$` sign to the
end of the date pattern to avoid wrongly validate date in wrong
format.
Tested:
1. Log in to BMC Web and go to the date-time setting
2. Click "Manual" to fill Date field with the following
format: 2025-06-112
3. Can't save and show "Invalid format"
Change-Id: Ia1ff1e9cc9885772e6145732dab177949be60969
Signed-off-by: Huy Le Anh <hule@amperecomputing.com>
Diffstat (limited to 'docs/guide/components/file-upload')
0 files changed, 0 insertions, 0 deletions