Advanced Use-Cases
If you are willing to dip your toes into the world of JavaScript, you can do quite a few interesting things with Meta Bind.
Performance Considerations
Dynamically creating input or view fields with JavaScript can have a performance impact, especially if you are doing it all over your notes.
Dynamic Bind Targets with JavaScript
You can use JavaScript to dynamically change a bind target based on another bind targets value.
This example demonstrates how to use a select input to change the bind target of a number input.
The select input is bound to the index
variable, and the number input is constructed to be bound to the list[index]
variable.
Dynamic Options for Select Inputs
You can also use JavaScript to dynamically change the options of a select input.
Additional Examples
There are additional advanced examples available in the GitHub Repository here. Have another one? Please submit a pull request.