Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1373

Doublebox should not allow the typing of non-numeric characteres achieved by alt-combinations such as @,# and €

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.1
    • 6.0.1, 6.0.2, 6.5.0
    • Components
    • It only happens on IE; you may need to set up a keyboard layout that allows for the aforementioned alt combinations (I've experienced this with spanish international layout, for instance pressing alt gr+3 in order to yield #).

      From http://www.zkoss.org/forum/listComment/20672-How-to-prevent-users-from-typing-characters-such-as-e-and-into-a-doublebox :

      "On IE it's possible to type € (even if no currency symbol is specified in the doublebox' format) as well as # and @. But for the € symbol (as long as the format allows for it) I can't imagine why should it be possible to type # and @."

      It's reproducible in the online zksandbox just by testing

      <doublebox format="0.00" width="150px" />

            vincentjian vincentjian
            cvarona cvarona
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: