Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SizePerPageDropdownStandalone Button is submitting form #1261

Closed
Assignees
Milestone
@owen-stellar

Description

Describe the bug
I want to use the datatable inside of a form, however the pageDropDown button that is created for selecting how many items per page to view is submitting the form as a type isn't set for that button. Can you please set the type="button" on the button or allow us to pass this into the SizePerPageDropdownStandalone component as an option?

Also, I want to use the SizePerPageDropdownStandalone multiple times on the page (once above and once below the table) however it has an id on the button that seems to be hard coded to 'pageDropDown' which causes a warning on my browser (especially when I have two or more datatables on the same page). If that could be fixed in some way it would be great.

Thank you!!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /