Skip to content

Commit

Permalink
156957fcb3062a68de89b43d5f929fa3fa1f5c08 Fix: Remove the name attri…
Browse files Browse the repository at this point in the history
…bute from the length dropdown `-tag select` (`-feature pageLength`). This prevents it from being submitted in a form.

DD-3018
https://datatables.net/forums/discussion/49969/form-inputs-used-in-data-tables-are-defined-wrong#latest

1bac4180765d08c16db18235e7dc4f2695b35aa5 Merge branch 'master' of github.com:DataTables/DataTablesSrc

Sync to source repo @1bac4180765d08c16db18235e7dc4f2695b35aa5
  • Loading branch information
dtbuild committed Dec 30, 2024
1 parent bf65a41 commit d1e9a09
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.1.8",
"last-sync": "3249b20671ce8e5e37272077a1017522101db9bf"
"last-sync": "1bac4180765d08c16db18235e7dc4f2695b35aa5"
}
1 change: 0 additions & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -13716,7 +13716,6 @@

// Next, the select itself, along with the options
var select = $('<select/>', {
'name': tableId+'_length',
'aria-controls': tableId,
'class': classes.select
} );
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13663,7 +13663,6 @@ DataTable.feature.register( 'pageLength', function ( settings, opts ) {

// Next, the select itself, along with the options
var select = $('<select/>', {
'name': tableId+'_length',
'aria-controls': tableId,
'class': classes.select
} );
Expand Down

0 comments on commit d1e9a09

Please sign in to comment.