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
…pache#27023)

(cherry picked from commit fd06ff3)
  • Loading branch information
justinpark authored and sadpandajoe committed Feb 12, 2024
1 parent 5d4607b commit 8920be1
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 @@ -518,6 +518,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 8920be1

Please sign in to comment.