twenty
twenty copied to clipboard
New object field - Step 2 - New field type: Currency
Desired behavior
The Unit pick list should enable people to choose between:
- United States dollar (USD)
- Euro (EUR)
- Japanese yen (JPY)
- British pound (GBP)
- Canadian dollar (CAD)
- Swiss franc (CHF)
- Chinese yuan (CNY)
- Hong Kong dollar (HKD)
Do not implement the uniqueness & required features yet.
If there are any existing records with this field, display the value of the first non-empty field. Otherwise, the preview value should be $2.000. (without space between the $ and the number behind)
Figma
https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=13884-61375&mode=design&t=avVSH5fvDzQPdLL9-11
### Tasks
- [ ] https://github.com/twentyhq/twenty/issues/2346
- [ ] https://github.com/twentyhq/twenty/issues/2347
We talked with @Bonapara and we realized that currency unit is at the field level. So design above for setting page is incorrect. And we will need a new design to change the unit at the field level
Actually we discussed it again and we can keep "unit" but as a defaultValue for the field
Replaced by https://github.com/twentyhq/twenty/issues/4122