mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
fe27acec9e
@ -59,14 +59,10 @@ const NocoBaseReactiveInternal: React.FC<IReactiveFieldProps> = (props) => {
|
|||||||
|
|
||||||
const renderComponent = () => {
|
const renderComponent = () => {
|
||||||
if (!field.componentType) return content;
|
if (!field.componentType) return content;
|
||||||
const disabled = true;
|
|
||||||
const readOnly = true;
|
|
||||||
|
|
||||||
return React.createElement(
|
return React.createElement(
|
||||||
getComponent(field.componentType),
|
getComponent(field.componentType),
|
||||||
{
|
{
|
||||||
disabled,
|
|
||||||
readOnly,
|
|
||||||
...field.componentProps,
|
...field.componentProps,
|
||||||
value: field.value,
|
value: field.value,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user