mirror of
https://github.com/zhigang1992/react-jsonschema-form.git
synced 2026-05-26 15:06:28 +08:00
Rename onDropIndexClick in objects to onDropPropertyClick
This commit is contained in:
@@ -109,7 +109,7 @@ class ObjectField extends Component {
|
||||
};
|
||||
};
|
||||
|
||||
onDropIndexClick = key => {
|
||||
onDropPropertyClick = key => {
|
||||
return event => {
|
||||
event.preventDefault();
|
||||
const { onChange, formData } = this.props;
|
||||
@@ -250,7 +250,7 @@ class ObjectField extends Component {
|
||||
registry={registry}
|
||||
disabled={disabled}
|
||||
readonly={readonly}
|
||||
onDropIndexClick={this.onDropIndexClick}
|
||||
onDropPropertyClick={this.onDropPropertyClick}
|
||||
/>
|
||||
),
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user