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

[Enhancement] Implement custom sorting of fields in a DynamicForm #1416

Closed
tahawkins21 opened this issue Jan 7, 2023 · 4 comments · Fixed by #1912
Closed

[Enhancement] Implement custom sorting of fields in a DynamicForm #1416

tahawkins21 opened this issue Jan 7, 2023 · 4 comments · Fixed by #1912
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Milestone

Comments

@tahawkins21
Copy link

Category

[x] Enhancement

[ ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [Latest]

Expected / Desired Behavior / Question

I would like to see the ability to control the order of list columns that are rendered using a DynamicForm component.
Assumption is that a property could be added to IDynamicFormProps.tsx "fieldOrder" that takes an array of internal field names that will be rendered in order, or similar.

It looks like IDynamicFieldProps already has an Order prop to work with, though I haven't figured out how to make that work in DynamicForm.

Thanks!

@ghost
Copy link

ghost commented Jan 7, 2023

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Jan 7, 2023
@github-actions
Copy link

github-actions bot commented Jan 7, 2023

Thank you for submitting your first issue to this project.

@wuxiaojun514
Copy link
Contributor

It looks like dynamic form uses the column order on content type level , you can configure content type column order as work around
image

@michaelmaillot michaelmaillot added help wanted Good First Issue 🏆 type:enhancement New feature or enhancement of existing capability and removed Needs: Triage 🔍 labels Sep 11, 2023
@michaelmaillot michaelmaillot added status:fixed-next-drop Issue will be fixed in upcoming release. and removed help wanted Good First Issue 🏆 labels Aug 16, 2024
@michaelmaillot michaelmaillot added this to the 3.20.0 milestone Aug 16, 2024
@michaelmaillot
Copy link
Collaborator

Hi @tahawkins21,

Following linked PR merged, this enhancement should be available in the next beta release.

Thanks to you for raising this and @srpmtt for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants