Open ghsolomon opened 1 week ago
agParams is a required property of EditorProps: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/desktop/cmp/grid/editors/EditorProps.ts#L14-L28
agParams
EditorProps
However, it is not included in the ColumnEditorFn params interface: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/cmp/grid/Types.ts#L285-L289
ColumnEditorFn
agParams appear to be passed here so should probably just be included as a required property of ColumnEditorFn's params interface: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/cmp/grid/columns/Column.ts#L980-L993
params
If we suspect there are times when agParams are not passed, we should make agParams an optional property of EditorProps
agParams
is a required property ofEditorProps
: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/desktop/cmp/grid/editors/EditorProps.ts#L14-L28However, it is not included in the
ColumnEditorFn
params interface: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/cmp/grid/Types.ts#L285-L289agParams
appear to be passed here so should probably just be included as a required property ofColumnEditorFn
'sparams
interface: https://github.com/xh/hoist-react/blob/2975272a12a559fcfdf710cc7f7d66b4095bd411/cmp/grid/columns/Column.ts#L980-L993If we suspect there are times when
agParams
are not passed, we should makeagParams
an optional property ofEditorProps