jQWidgets Forums

jQuery UI Widgets Forums Angular Bug in 'selectedrow' edit mode

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Bug in 'selectedrow' edit mode #101062

    trandma
    Participant

    There seems to be a really weird bug with the ‘selectedrow’ edit mode. It seems that if a column is named ‘height’, then the column is not entered with TAB navigation and when the value is changed and editing closed, the new value is not saved but rather the field is emptied. The exact same code with a different column name works.

    Reproduction with a pretty basic Angular CLI app.
    https://drive.google.com/open?id=12Hfzx3nX7YOzRffOtV3HlHDhLuha1omp

    To reproduce:
    1. Enter 1 row of any data
    2. Start editing the entered row, traverse between cells by pressing TAB.
    3. Notice that the Height column cannot be entered
    4. Use the mouse to click on the edited Height cell and enter a new value
    5. Press ENTER to exit editing. Notice the Height field is blank

    6. Modify the code by changing the field name from ‘height’ to ‘height2’ in the datafields definition in the ngOnInit method and the column definition (line 138 or so).
    7. Repeat the test. Notice that now editing works as expected

    Am I missing something basic in my code? This is such a strange bug.

    Bug in 'selectedrow' edit mode #101153

    Martin
    Participant

    Hello trandma,

    Thank you for your feedback!
    I have tested the app that you sent and it seems that this issue is really coming from the “height” field name.
    It is a strange issue indeed. I have created a work item about it.

    Best Regards,
    Martin

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

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

You must be logged in to reply to this topic.