mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix(NocoBaseReactiveField): remove disable and readOnly (#5922)
Fix the issue where the delete button is disabled in the block template management page
This commit is contained in:
parent
8d75a7fcfd
commit
de4921834d
@ -59,14 +59,10 @@ const NocoBaseReactiveInternal: React.FC<IReactiveFieldProps> = (props) => {
|
||||
|
||||
const renderComponent = () => {
|
||||
if (!field.componentType) return content;
|
||||
const disabled = true;
|
||||
const readOnly = true;
|
||||
|
||||
return React.createElement(
|
||||
getComponent(field.componentType),
|
||||
{
|
||||
disabled,
|
||||
readOnly,
|
||||
...field.componentProps,
|
||||
value: field.value,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user