Fixes on record title input (#11720)
- Fix record creation title cell opening - Fix full name input hotkey scope
This commit is contained in:
@ -48,7 +48,7 @@ export const useCreateNewIndexRecord = ({
|
||||
openRecordTitleCell({
|
||||
recordId,
|
||||
fieldMetadataId: objectMetadataItem.labelIdentifierFieldMetadataId,
|
||||
containerType: RecordTitleCellContainerType.PageHeader,
|
||||
containerType: RecordTitleCellContainerType.ShowPage,
|
||||
});
|
||||
} else {
|
||||
navigate(AppPath.RecordShowPage, {
|
||||
|
||||
@ -52,7 +52,7 @@ export const RecordTitleFullNameFieldDisplay = () => {
|
||||
<StyledDiv
|
||||
onClick={() => {
|
||||
setHotkeyScopeAndMemorizePreviousScope(
|
||||
TitleInputHotkeyScope.TitleFullNameInput,
|
||||
TitleInputHotkeyScope.TitleInput,
|
||||
);
|
||||
openInlineCell();
|
||||
}}
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
export enum TitleInputHotkeyScope {
|
||||
TitleInput = 'title-input',
|
||||
TitleFullNameInput = 'title-full-name-input',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user