surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.21k stars 814 forks source link

Custom Properties - Clarification on creating custom properties of a expression/condition type - the 'onExecuteExpression' function is needed #7490

Closed JaneSjs closed 11 months ago

JaneSjs commented 11 months ago

Usage Scenario: https://surveyjs.answerdesk.io/internal/ticket/details/T15667#df020e69-8347-40b3-92e3-544e5a0f55bf

When you implement a custom property of the expression or condition type, it is mandatory to implement the onExecuteExpression function and store a function evaluation result.

RomanTsukanov commented 11 months ago

We'll add docs for this use case to the following demo in future releases: Implement a Custom Expression Property.