Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReferenceField component. #32

Merged
merged 1 commit into from
Feb 8, 2021
Merged

Add ReferenceField component. #32

merged 1 commit into from
Feb 8, 2021

Conversation

yildirayunlu
Copy link
Contributor

@yildirayunlu yildirayunlu commented Feb 7, 2021

<ReferenceField
    value={value}
    resource="categories"
    optionText="title"
/>

Yukardaki gibi antd desteklemediği için mecburen alttaki gibi yaptım. Antd direk altında Column componenti istiyor. Belki ilerde bir çözüm bulabiliriz.

<Column
    key="categoryId"
    title="Category"
    dataIndex="categoryId"
    render={(value) => {
        return (
            <ReferenceField
                value={value}
                resource="categories"
                optionText="title"
            />
        );
    }}
/>

Resolve #32

@yildirayunlu yildirayunlu merged commit 7db2ef2 into master Feb 8, 2021
@yildirayunlu yildirayunlu deleted the reference-field branch February 8, 2021 09:53
@yildirayunlu yildirayunlu linked an issue Feb 9, 2021 that may be closed by this pull request
Copy link

nx-cloud bot commented Jan 10, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 7c2d81a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
lerna run test --stream --scope @refinedev/* --scope create-refine-app
✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReferenceField
2 participants