We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f21ab commit 21293d0Copy full SHA for 21293d0
16/umbraco-cms/customizing/property-editors/property-actions.md
@@ -56,7 +56,9 @@ import { UmbPropertyActionBase } from '@umbraco-cms/backoffice/property-action';
56
import { UMB_PROPERTY_CONTEXT } from '@umbraco-cms/backoffice/property';
57
58
export class MyPropertyAction extends UmbPropertyActionBase {
59
+ // The execute method is called when the user triggers the action.
60
async execute() {
61
+ // Retrieve the property’s current state,
62
const propertyContext = await this.getContext(UMB_PROPERTY_CONTEXT);
63
64
// Example: set a default value
0 commit comments