Skip to content

Commit

Permalink
Fix the onCanShowProperty event (#5477)
Browse files Browse the repository at this point in the history
* Fix the `onCanShowProperty` and drag&drop events

* Revert drag&drop changes
  • Loading branch information
RomanTsukanov committed May 8, 2024
1 parent 655d583 commit 8cf4a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-creator-core/src/creator-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class SurveyCreatorModel extends Base
* [View Demo](https://surveyjs.io/survey-creator/examples/hide-category-from-property-grid/ (linkStyle))
*/
public onShowingProperty: EventBase<SurveyCreatorModel, PropertyAddingEvent> = this.addCreatorEvent<SurveyCreatorModel, PropertyAddingEvent>();
public onCanShowProperty: EventBase<SurveyCreatorModel, PropertyAddingEvent> = this.onShowingProperty;
public onCanShowProperty: EventBase<SurveyCreatorModel, any> = this.onShowingProperty;
/**
* This event is obsolete. Use the [`onSurveyInstanceCreated`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#onSurveyInstanceCreated) event instead.
* @deprecated
Expand Down

0 comments on commit 8cf4a1e

Please sign in to comment.