We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a87372 commit 548aa5fCopy full SHA for 548aa5f
internal/comp/crud.go
@@ -266,6 +266,11 @@ func (c Crud) PerPage(value int) Crud {
266
return c.set("perPage", value)
267
}
268
269
+// PerPageAvailable sets the available options for items per page
270
+func (c Crud) PerPageAvailable(value ...int) Crud {
271
+ return c.set("perPageAvailable", value)
272
+}
273
+
274
// PerPageField sets the field name for specifying items per page
275
func (c Crud) PerPageField(value string) Crud {
276
return c.set("perPageField", value)
0 commit comments