-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: set field as custom object label identifier in Object Detail #3360
Conversation
8f01936
to
e54ea44
Compare
51dc07d
to
21b52fb
Compare
field.id === objectMetadataItem.labelIdentifierFieldMetadataId || | ||
field.name === 'name', | ||
): FieldMetadataItem | undefined => | ||
objectMetadataItem.fields.find((fieldMetadataItem) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the style with { return ... } ?
onClick={handleDisable} | ||
/> | ||
</Section> | ||
{!isLabelIdentifierField({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we extract this in a variable above ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
There a strange behavior with setting the record label identifier on another field, should we address this in this ticket ? Enregistrement.de.l.ecran.2024-01-16.a.17.02.41.mov |
Hi, thank you for the review! I was planning to address the Tables side with this issue: #3303 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Closes #3302
TODO: