Brandon
Brandon
RRefine
Created by exotic-emerald on 9/21/2023 in #ask-any-question
How to hide edit button action on specific row at list resource
Hey @batuhanw , thanks for assisting. Is there any other way based on data? Example: the data has been cancelled , so edit should not be allowed
7 replies
RRefine
Created by complex-teal on 9/14/2023 in #ask-any-question
dynamically load resource base on role
any other way to load the resources based on user role
9 replies
RRefine
Created by correct-apricot on 9/14/2023 in #ask-any-question
dynamically load resource base on role
right now just using the meta.hide
9 replies
RRefine
Created by fascinating-indigo on 9/14/2023 in #ask-any-question
dynamically load resource base on role
at the app.tsx
<Refine
dataProvider={dataProvider(API_URL, axiosInstance)}
notificationProvider={notificationProvider}
authProvider={authProvider}
i18nProvider={i18nProvider}
routerProvider={routerBindings}
resources={[
{
name: 'projects',
list: '/projects',
create: '/projects/create',
edit: '/projects/edit/:id',
show: '/projects/show/:id',
meta: {
hide: viewType === 'tenant',
icon: <IconCategory />,
}
},
<Refine
dataProvider={dataProvider(API_URL, axiosInstance)}
notificationProvider={notificationProvider}
authProvider={authProvider}
i18nProvider={i18nProvider}
routerProvider={routerBindings}
resources={[
{
name: 'projects',
list: '/projects',
create: '/projects/create',
edit: '/projects/edit/:id',
show: '/projects/show/:id',
meta: {
hide: viewType === 'tenant',
icon: <IconCategory />,
}
},
9 replies
RRefine
Created by literary-plum on 9/7/2023 in #ask-any-question
swizzle create form RefinePageHeaderClassNames is not defined
Hi , it's @refinedev/chakra-ui > Basic Views > Create, Edit and Show. for "List" i havent touch on yet
8 replies
RRefine
Created by fascinating-indigo on 9/7/2023 in #ask-any-question
swizzle create form RefinePageHeaderClassNames is not defined
Hi Alican, I managed to resolve the issue. Just missing this line at default generated refine Create and Edit prop
import { RefinePageHeaderClassNames } from "@refinedev/ui-types";
import { RefinePageHeaderClassNames } from "@refinedev/ui-types";
8 replies
RRefine
Created by frail-apricot on 9/6/2023 in #ask-any-question
how to code Edit form with Chakra RadioGroup form component
@kapa.ai with chakraui
9 replies
RRefine
Created by deep-jade on 9/1/2023 in #ask-any-question
list, default pageSize
@kapa.ai how about the useSelect pagination?
8 replies
FFilament
Created by Gaspar on 6/13/2023 in #❓┊help
How to format dependable, readonly(calculated) fields?
Hi, do you mind to share the tricks how you to populate the sum
5 replies