update currency select

This commit is contained in:
Nate Kelley 2025-03-19 13:04:12 -06:00
parent a52b2c23fb
commit 966338ca7a
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,9 @@ export const EditCurrency: React.FC<{
label: (
<div className="flex items-center gap-1.5 overflow-hidden">
<div className="rounded-sm">{currency.flag}</div>
<Text className="truncate">{currency.description}</Text>
<Text className="truncate">
{currency.description} ({currency.code})
</Text>
</div>
),
value: currency.code,
@ -37,8 +39,6 @@ export const EditCurrency: React.FC<{
onUpdateColumnConfig({ currency: value });
});
console.log(selectedCurrency);
return (
<LabelAndInput label="Currency">
<div className="w-full overflow-hidden">
@ -47,8 +47,8 @@ export const EditCurrency: React.FC<{
items={options}
disabled={!isFetched}
onChange={onChange}
defaultValue={selectedCurrency?.value}
className="w-full!"
// filterOption={onFilterOption}
/>
</div>
</LabelAndInput>