auto-form
auto-form copied to clipboard
feature request: be able to reorder fields
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
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.
There's now support of reordering the fields through fieldConfig.