Skip to content

Commit

Permalink
fix: 修复 column static 属性影响到 quickEdit 中问题
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Nov 9, 2023
1 parent 3e1e8a6 commit 8827c14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/amis/src/renderers/QuickEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ export const HocQuickEdit =
>
{render('quick-edit-form', this.buildSchema(), {
value: undefined,
static: false,
defaultStatic: false,
onSubmit: this.handleSubmit,
onAction: this.handleAction,
onChange: null,
Expand Down Expand Up @@ -577,7 +577,8 @@ export const HocQuickEdit =
mode: 'normal',
value: value ?? '',
onChange: this.handleFormItemChange,
ref: this.formItemRef
ref: this.formItemRef,
defaultStatic: false
});
}

Expand All @@ -591,7 +592,8 @@ export const HocQuickEdit =
onChange: this.handleChange,
formLazyChange: false,
canAccessSuperData,
disabled
disabled,
defaultStatic: false
});
}

Expand Down

0 comments on commit 8827c14

Please sign in to comment.