jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput Set Focus and inputMode 'Simple'

This topic contains 2 replies, has 2 voices, and was last updated by  Autthpon 11 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Set Focus and inputMode 'Simple' #56054

    Autthpon
    Participant

    Help me please!!

    1. I need set cursor before text. but use $(“#jqxNumberInput”).jqxNumberInput(‘focus’) not work. Cursor move to after text.
    [I use ‘I>’ instead cursor] I>100.20

    2. I need for NumberInput config [inputMode: ‘simple’] not promptChar. but I need [decimalSeparator: ‘,’] not work.
    Current
    {inputMode: ‘simple’,promptChar:”,decimalSeparator: ‘,’} => result [,,100.20]
    or
    {inputMode: ‘simple’,decimalSeparator: ‘,’} => result [___,___,100.20]

    It’s not something like.I’m need [Exam. 1,100.20 or 100.20 or 3,456,789.20]

    Set Focus and inputMode 'Simple' #56056

    Peter Stoev
    Keymaster

    Hi Autthpon,

    This sample proves that In Simple Input Mode, the Decimal Separator – ‘,’ works as expected with the latest version of jQWidgets: http://jsfiddle.net/X43v2/

    If you use something else, please consider upgrade.

    The purpose of the Focus method is to put the Focus into the Input and it does exactly that. The input mode does not matter here as well. Example: http://jsfiddle.net/CqDXg/

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Set Focus and inputMode 'Simple' #56141

    Autthpon
    Participant

    Thank you for your feedback.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.