score:2
actually it depends both on your backend setup and restclient you use...
see restclient example : https://github.com/marmelab/admin-on-rest/blob/49a616c93d1ee5ea0bfa3c5f7abea0bb29c8d01c/src/rest/simple.js (convertrestrequesttohttp)
it is possible to override pagination query like :
const { page, perpage } = params.pagination;
const { field, order } = params.sort;
let query = {
sort: json.stringify([field, order]),
filter: json.stringify(params.filter),
};
if (perpage > 0) {
query.range = json.stringify([
(page - 1) * perpage,
page * perpage - 1,
]);
}
(of course paging query params depends on your backend, it is just a sample )
score:-1
i used perpage={-1}
for referenceinput
and it worked for me.
score:1
no, there is not. however, you may just pass a very large value or maybe -1
. it's then up to your backend to handle it correctly
Source: stackoverflow.com
Related Query
- How to disable perPage limitation in admin on rest?
- How to refresh a List View in admin on rest
- Admin on rest - How to display a Datagrid withtout a ReferenceField?
- How to disable a button when an input is empty?
- How to make a rest post call from ReactJS code?
- How to disable button in React.js
- How to disable ESLint react/prop-types rule in a file?
- How to disable open browser in CRA?
- How to disable source maps for React JS Application
- react-router: How to disable a <Link>, if its active?
- How to disable box-shadow globally for all MUI components?
- How to disable the hover effect of material-ui button inside of a styled component
- How can I disable all typescript type checking?
- How to properly make REST calls from ReactJS + Redux application?
- How to disable image fade in effect in React Native?
- How to disable Chrome autocomplete feature?
- How to totally disable a react component?
- How to integrate azure ad into a react web app that consumes a REST API in azure too
- How to disable underline to Material UI's datepicker in React?
- How to disable optimize warnings in webpack 2
- redux-form: How to disable submit button if at least one Field is not valid?
- How to disable filtering options in material-ui Autocomplete?
- How to disable a link in reactjs?
- How do you conditionally disable a form input in react?
- how to disable input on react-select?
- How to do POST in FORM Submit using reactjs and pass the object value into REST service?
- How can I conditionally disable a control in Storybook based on the value of another argument?
- How to conditionally disable the submit button with react-hook-form?
- how can I show customized error messaged from server side validation in React Admin package?
- How can I disable chunk(code splitting) with webpack4?
More Query from same tag
- Async action causing problems
- Return a string from JSON through Javascript
- React - pass props/state to rendered HTML string?
- 'this' is not a function in code splitting
- passing prop server-side is not being rendered client-side
- Multi file upload in react
- Destructurize fetched data react
- How to make React (Router) point to WP backend file
- What is the best way to make private route in reactjs
- How to validate office-fabric ui DatePicker
- Using lodash debounce to return a promise
- How can I make Jest test for a thrown error silently
- Working with Charts in motion [Animating chart]
- C# ASP:NET MVC back end - Change from React Router v4 HashRouter to BrowserRouter results in 404 on refresh
- Not able to store json web token in cookies in my browser
- react-helmet outputting empty strings on server-side
- Invalid Hook call when using the react-water-wave
- How to append html video tag to a div in React
- How to convert this classs component to function component
- Lazy loading doesn't work when using react-router-dom
- x-axis horizontal line and y-axis labels are not displaying in D3 Grouped bar chart
- How to get reference to the dispatch method from a component method in my react-native redux app
- How can I persist my custom preview component in React Dropzone Uploader?
- React removeEventListener not being removed
- reactjs, redux and pagination
- Problem with spreader in assigning new values
- ReactJS - sending an empty object with redux-saga
- Local storage using redux toolkit
- How to set react-native keyboard theme to dark
- How to pass a function as a prop into a route React js?