Refine

R

Refine

Join the community to ask questions about Refine and get answers from other members.

Join

ask-any-question

discussions

environmental-rose
environmental-rose7/11/2024

set range numbers

How to set a range numbers to make a discount. Ex: I want do set a discount of 3 dollars if a customer pays above 20 dollars , and set a discount of 4 dollars if a customer pays 30 dollars and discount of 5 dollars if a customer pays more than 40 dollars...
environmental-rose
environmental-rose7/11/2024

Decimal places

How to convert a number in 1 decimal place
judicial-coral
judicial-coral7/11/2024

delete many example dataprovider

@kapa.ai can you show me an example implementation for deleteMany for a rest data provider
equal-aqua
equal-aqua7/11/2024

data returned from useOne is always undefined even if the query is responding correctly

I have this graphql based useOne implementation. The request and response is okay when checked in the network tab but the data returned by the useOne() hook is undefined. ``` const { data, error } = useOne({ resource: 'users',...
metropolitan-bronze
metropolitan-bronze7/11/2024

Reload form

how to reload details page with useDrawerForm
like-gold
like-gold7/11/2024

Where can I get source demo multi-tenant of strapi by refine?

Where can I get source demo multi-tenant of strapi by refine?
environmental-rose
environmental-rose7/10/2024

Open another resource

How to redirect to another resource/page after a sucessfully
afraid-scarlet
afraid-scarlet7/10/2024

create resource with another resource as a field

In the create form how can I add an input that is another resource
frail-apricot
frail-apricot7/10/2024

Error in usecustom api call

this is the variable i'm using with my api call const { data: globalbalanceData , error, isLoading } = useCustom<{ data: IGlobalBalance; }>({ url: ${API_URL}/globalbalance/bydate, method: "get",...
correct-apricot
correct-apricot7/10/2024

Getting error when building project for production

When we are trying to build our project with npm run build command, we are getting the following error Error occurred prerendering page "/_not-found" and ReferenceError: self is not defined...
graceful-beige
graceful-beige7/10/2024

Prevent resource entry from displaying in sider menu

I'm using the <ThemedLayoutV2> component, which is automatically rendering menu items for each resource entry passed to refine. Is there a way to define a resource entry such that a menu item is not created?
deep-jade
deep-jade7/10/2024

how to add filter

``` const { dataGridProps, search, filters } = useDataGrid< BaseRecord, HttpError, IPointsFilterVariables...
extended-yellow
extended-yellow7/10/2024

Selecting a single row item selects all items

I'm using an antd table with rowSelection. When I select a single item, it selects all items. Any ideas why that might happen
extended-yellow
extended-yellow7/10/2024

How to map table cell data to useSelect data?

I'm using useTable to get a list of data from an API. I want the cell data on certain columns to be mapped to data from another dataset obtained with useSelect. How do?
deep-jade
deep-jade7/10/2024

How can I test the development environment like a production environment?

example url
https://bass-fresh.app/order?_rsc=17pb3
example url
https://bass-fresh.app/order?_rsc=17pb3
it's development tools preview result ```...
deep-jade
deep-jade7/10/2024

How do I check it in a live environment rather than a development environment?

How do I check it in a live environment rather than a development environment?
deep-jade
deep-jade7/10/2024

The URL is duplicated.

``` export default function ManageList() { const { onFinish } = useForm<HttpError>({ resource: 'manage', action: 'create',...
rare-sapphire
rare-sapphire7/9/2024

Auth0 RedirectURL Mismatch?

Hello Everyone, I'm a developer at a software startup in the SF Bay Area. The company is starting a new project, and we decided to go with Refine + NextJS + Auth0 for FE. I had some questions about Auth0 setting....
No description
flat-fuchsia
flat-fuchsia7/9/2024

Import Notifications

How can I generate a notification with refine and antd when using useImport to show either the error or success message? The notification automatically pops up when you, for example, create a record in a database.
continuing-cyan
continuing-cyan7/9/2024

UI constraints

I want to develop the following two UIs for my use case. One of them is a group booking UI and the other is a messaging system connecting me to travelers over Whatsapp similar to intercom.I want to use Shadcn UI. Is it possible in refine?
No description