Skip to content

SizePerPageDropdownStandalone Button is submitting form #1261

Closed
@owen-stellar

Description

@owen-stellar

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

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions