Skip to content

Commit

Permalink
fix(explore): allow free-form d3 format on custom column formatting (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark authored Feb 8, 2024
1 parent c222464 commit fd06ff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ export type ControlFormItemSpec<T extends ControlType = ControlType> = {
debounceDelay?: number;
} & (T extends 'Select'
? {
allowNewOptions?: boolean;
options: any;
value?: string;
defaultValue?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export type SharedColumnConfigProp =
| 'currencyFormat';

const d3NumberFormat: ControlFormItemSpec<'Select'> = {
allowNewOptions: true,
controlType: 'Select',
label: t('D3 format'),
description: D3_FORMAT_DOCS,
Expand Down

0 comments on commit fd06ff3

Please sign in to comment.