[Feature]: [@adminjs/relations] Add custom properties/columns.
ZeroCho opened this issue · comments
Description
I think one of good features for adminjs is to customize columns with custom components.
If @adminjs/relations
also has a feature to customize columns, it will be better.
Suggested Solution
Like how we add custom properties for adminjs, I think @adminjs/relations
should support properties column.
Please correct me if it already exists. As far as I know from searching from @adminjs/relations/types/index.d.ts
, properties option does not exist.
properties: {
params: {
type: 'mixed',
isRequired: false,
components: {
show: Components.ShowJSONB,
edit: Components.EditJSONB,
list: Components.ShowJSONB,
},
},
}
Alternatives
No response
Additional Context
No response