-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The logic here is a bit heavy. In summary, we need to keep track of whether we generated the `onSubmitValueParser` callback. If we did, then we can respond to changes to `allowFunctionEvaluation`, otherwise we ignore it. This process moved onSubmitValueParser into `JsonTree`'s state, because we need to be able to modify and store it.
- Loading branch information
Showing
2 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters