Submit event bubbling when using ColumnControl

Submit event bubbling when using ColumnControl

ty_rexty_rex Posts: 7Questions: 0Answers: 0
edited June 17 in Free community support

When a DataTable is using ColumnControl, and placed inside a

<

form> tag, there are some unexpected form submit actions taking place when:

1) Hitting enter when typing in a search.
2) Using 'Deselect' after selecting an item in 'searchList'.
3) Clicking the sort order toggle in a column header.

Test case below.

I will repurpose my own page to avoid the use of

<

form> but it would be great if there was a workaround for it at some point in the future.

Just thought I would bring it to your attention. It's a really nice extension, by the way.

Replies

  • ty_rexty_rex Posts: 7Questions: 0Answers: 0
    edited June 17

    Test case here: https://jsfiddle.net/fd3jgm5r/

    Click 'Run' then try clicking the sort icon in the header - the page refreshes and gives a 404 error.

  • allanallan Posts: 64,604Questions: 1Answers: 10,683 Site admin

    Many thanks for the test case! I've committed a fix for this error. It will be in the next release which I expect to drop next week.

    Allan

  • ty_rexty_rex Posts: 7Questions: 0Answers: 0

    That's ace, thank you very much Allan :)

Sign In or Register to comment.