Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-01-06 11:53:54 +00:00
commit fb122c41e9
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import { useRecord } from '../../../record-provider';
import { useCompile } from '../../../schema-component';
import { useCollectionManager_deprecated } from '../../hooks';
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid'];
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
export const SourceForeignKey = observer(
() => {
const record = useRecord();

View File

@ -14,7 +14,7 @@ import { useParams } from 'react-router-dom';
import { useRecord, useCompile, useAPIClient, useCollectionManager_deprecated } from '@nocobase/client';
import { useRemoteCollectionContext } from '../CollectionFields';
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid'];
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
export const SourceKey = observer(
(props: any) => {