auto-form icon indicating copy to clipboard operation
auto-form copied to clipboard

feature request: be able to reorder fields

Open capaj opened this issue 1 year ago • 1 comments

I am generating schemas from drizzle tables so I don't control order of fields. Would be awesome to be able to reorder in fieldconfig

capaj avatar Mar 12 '24 00:03 capaj

Not the full answer, but I am currently using pick to get around this:

export const SNewWebsiteForm = createInsertSchema(xx).pick({
  firstField: true,
  secondField: True,
})

This will orderi t for me, at least. Not perfect, but most often I need to kick out some fields anyways.

feliche93 avatar May 28 '24 13:05 feliche93

There's now support of reordering the fields through fieldConfig.

AdhikaryGautam avatar Oct 07 '24 02:10 AdhikaryGautam