-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.8
-
macOS
-
ZK 8.6.2 S2
Steps to Reproduce
http://zkfiddle.org/sample/2vmlqme/1-BUG-timebox-paste
- type "11:11:11" and blur
- copy the value
- paste to the second timebox
Current Result
on macOS only
- It remains empty. And you can't even simply paste text by Cmd + V.
All
- Using the context menu to paste and get the empty result.
- Copy "1:01:01 AM" and paste, the result will be "1:01:01 PM"
- Set the second timebox as "1:01:01 AM" and copy "11:11:11 AM" then paste it, the result will be "1:00:00 AM"
Expected Result
the value of the second timebox should be set correctly no matter using hotkeys or context menu
Debug Information
macOS uses Cmd key, not Ctrl key.
https://github.com/zkoss/zk/blob/v7.0.2/zul/src/archive/web/js/zul/db/Timebox.js#L393