Skip to content

Commit

Permalink
fix: Clearing the currency format has no effect on the chart (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Sep 11, 2023
1 parent 0f01be9 commit f9deefc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export const CurrencyControl = ({
onChange={(symbolPosition: string) => {
onChange({ ...currency, symbolPosition });
}}
onClear={() => onChange({ ...currency, symbolPosition: undefined })}
value={currency?.symbolPosition}
allowClear
{...symbolSelectOverrideProps}
Expand All @@ -118,6 +119,7 @@ export const CurrencyControl = ({
onChange={(symbol: string) => {
onChange({ ...currency, symbol });
}}
onClear={() => onChange({ ...currency, symbol: undefined })}
value={currency?.symbol}
allowClear
allowNewOptions
Expand Down

0 comments on commit f9deefc

Please sign in to comment.