Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number field is half-formatted on input #2356

Open
pmiklashevych opened this issue Feb 9, 2021 · 0 comments
Open

Number field is half-formatted on input #2356

pmiklashevych opened this issue Feb 9, 2021 · 0 comments

Comments

@pmiklashevych
Copy link

pmiklashevych commented Feb 9, 2021

https://www.bryntum.com/forum/viewtopic.php?p=82535#p82535

numberField = new NumberField({
    width    : 200,
    appendTo : document.body,
    value    : 1234.549,
    format   : {
        locale   : 'en-US',
        template : '9,999.99'
    }
});

Set cursor before the dot. Type in "123". See "1,234123.54" which is half-formatted. On focus out it gets fully formatted "1,234,123.54".
Снимок экрана 2021-02-09 в 15 44 37

It's a behavior change resulting from #2127

@pmiklashevych pmiklashevych added bug Something isn't working regression Worked previously, now broken labels Feb 9, 2021
@matsbryntse matsbryntse added the high-priority Urgent to have fixed label Feb 9, 2021
@matsbryntse matsbryntse added this to the 4.1.0 milestone Feb 9, 2021
@matsbryntse matsbryntse removed this from the 4.1.0 milestone Feb 11, 2021
@matsbryntse matsbryntse added feature request and removed high-priority Urgent to have fixed regression Worked previously, now broken bug Something isn't working labels Feb 11, 2021
@dongryphon dongryphon removed their assignment Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants