Skip to content

Commit

Permalink
fix(explore): allow free-form d3 format on custom column formatting (#…
Browse files Browse the repository at this point in the history
…27023)

(cherry picked from commit fd06ff3)
  • Loading branch information
justinpark authored and michael-s-molina committed Feb 13, 2024
1 parent c974daa commit d572af3
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 d572af3

Please sign in to comment.