c182bff3d8
feat: enable removing all links from the field ( #6185 )
...
closes https://github.com/twentyhq/twenty/issues/6041
- enabled removing all dropdown items including the primary one
- primary one can be removed even when it is not the last remaining one
from the list, this will set the next item on the list as the new
primary one (_idk if it was expected to implement this_)
https://github.com/twentyhq/twenty/assets/19856731/405a055d-13de-43f4-b3e8-d6a199bfdf24
---------
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
2024-07-10 12:33:29 +02:00
8590bd7227
Refactor default value for select ( #5343 )
...
In this PR, we are refactoring two things:
- leverage field.defaultValue for Select and MultiSelect settings form
(instead of option.isDefault)
- use quoted string (ex: "'USD'") for string default values to embrace
backend format
---------
Co-authored-by: Thaïs Guigon <guigon.thais@gmail.com >
2024-05-10 10:26:46 +02:00
8853226d17
feat: add Links field type ( #5176 )
...
Closes #5113
---------
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com >
2024-05-01 11:56:14 +02:00
a9f4a66c4f
refactor: validate objectMetadataItem with Zod on creation and update… ( #4270 )
...
* refactor: validate objectMetadataItem with Zod on creation and update & remove logic from useObjectMetadataItemForSettings
* refactor: review
2024-03-05 11:32:30 +01:00