Various fixes (#11108)
Fixes many bug regarding TableCell and InlineCells
This commit is contained in:
@ -1,6 +1,13 @@
|
||||
import { isDefined } from 'twenty-shared';
|
||||
|
||||
export const getRecordFieldInputId = (
|
||||
recordId: string,
|
||||
fieldName?: string,
|
||||
prefix?: string,
|
||||
): string => {
|
||||
if (isDefined(prefix)) {
|
||||
return `${prefix}-${recordId}-${fieldName}`;
|
||||
}
|
||||
|
||||
return `${recordId}-${fieldName}`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user