Morph many to one picker (#14155)
This PR follows the multiSelect PR merged previously. It will enable morph relation Many to One to be handled from the table, using a singleSelect picker Main point : I decided to change the singleSelect API to take an array of **objectMetadataName** instead of only one to deal with both our usecases. --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { type CurrencyCode } from "@/constants/CurrencyCode";
|
||||
import { type CurrencyCode } from '@/constants/CurrencyCode';
|
||||
|
||||
export const CURRENCY_CODE_LABELS: Record<
|
||||
CurrencyCode,
|
||||
{ label: string }
|
||||
> = {
|
||||
export const CURRENCY_CODE_LABELS: Record<CurrencyCode, { label: string }> = {
|
||||
AED: { label: 'UAE dirham' },
|
||||
AFN: { label: 'Afghan afghani' },
|
||||
ALL: { label: 'Albanian lek' },
|
||||
@@ -157,4 +154,4 @@ export const CURRENCY_CODE_LABELS: Record<
|
||||
ZAR: { label: 'South African rand' },
|
||||
ZMW: { label: 'Zambian kwacha' },
|
||||
ZWG: { label: 'Zimbabwe Gold' },
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user