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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.0.1, 6.0.2, 6.5.0
    • Fix Version/s: 6.5.1
    • Component/s: Components
    • Labels:
    • Environment:

      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 #).

      Description

      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" />

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: