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({
|
openRecordTitleCell({
|
||||||
recordId,
|
recordId,
|
||||||
fieldMetadataId: objectMetadataItem.labelIdentifierFieldMetadataId,
|
fieldMetadataId: objectMetadataItem.labelIdentifierFieldMetadataId,
|
||||||
containerType: RecordTitleCellContainerType.PageHeader,
|
containerType: RecordTitleCellContainerType.ShowPage,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
navigate(AppPath.RecordShowPage, {
|
navigate(AppPath.RecordShowPage, {
|
||||||
|
|||||||
@ -52,7 +52,7 @@ export const RecordTitleFullNameFieldDisplay = () => {
|
|||||||
<StyledDiv
|
<StyledDiv
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setHotkeyScopeAndMemorizePreviousScope(
|
setHotkeyScopeAndMemorizePreviousScope(
|
||||||
TitleInputHotkeyScope.TitleFullNameInput,
|
TitleInputHotkeyScope.TitleInput,
|
||||||
);
|
);
|
||||||
openInlineCell();
|
openInlineCell();
|
||||||
}}
|
}}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
export enum TitleInputHotkeyScope {
|
export enum TitleInputHotkeyScope {
|
||||||
TitleInput = 'title-input',
|
TitleInput = 'title-input',
|
||||||
TitleFullNameInput = 'title-full-name-input',
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user