摘要:
import { useGetList, RadioButtonGroupInput } from 'react-admin'; const UserCountry = () => { const { data, isLoading } = useGetList('countries'); // d 阅读全文
posted @ 2023-08-24 09:14
前端导师歌谣
阅读(12)
评论(0)
推荐(0)
摘要:
import { RadioButtonGroupInput } from 'react-admin'; <RadioButtonGroupInput source="category" choices={[ { id: 'tech', name: 'Tech' }, { id: 'lifestyl 阅读全文
posted @ 2023-08-24 09:13
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
import { PasswordInput } from 'react-admin'; <PasswordInput source="password" /> 运行结果 阅读全文
posted @ 2023-08-24 09:13
前端导师歌谣
阅读(29)
评论(0)
推荐(0)
摘要:
import { NumberInput } from 'react-admin'; <NumberInput source="nb_views" /> 运行结果 阅读全文
posted @ 2023-08-24 09:12
前端导师歌谣
阅读(15)
评论(0)
推荐(0)
摘要:
import { NullableBooleanInput } from 'react-admin'; <NullableBooleanInput label="Commentable" source="commentable" /> 运行结果 阅读全文
posted @ 2023-08-24 09:12
前端导师歌谣
阅读(17)
评论(0)
推荐(0)
摘要:
import { ImageInput, ImageField } from 'react-admin'; <ImageInput source="pictures" label="Related pictures"> <ImageField source="src" title="title" / 阅读全文
posted @ 2023-08-24 09:11
前端导师歌谣
阅读(10)
评论(0)
推荐(0)
摘要:
import { DateTimeInput } from 'react-admin'; <DateTimeInput source="published_at" /> 运行结果 阅读全文
posted @ 2023-08-24 09:11
前端导师歌谣
阅读(9)
评论(0)
推荐(0)
摘要:
import { DateTimeInput } from 'react-admin'; <DateTimeInput source="published_at" /> 运行结果 阅读全文
posted @ 2023-08-24 09:11
前端导师歌谣
阅读(11)
评论(0)
推荐(0)
摘要:
import { DateInput, minValue } from 'react-admin'; // requires dates after October 10th, 2022 <DateInput source="published" validate={minValue('2022-1 阅读全文
posted @ 2023-08-24 09:10
前端导师歌谣
阅读(6)
评论(0)
推荐(0)
摘要:
import { DateInput } from 'react-admin'; <DateInput source="published_at" /> 运行结果 阅读全文
posted @ 2023-08-24 09:10
前端导师歌谣
阅读(10)
评论(0)
推荐(0)

浙公网安备 33010602011771号