Is it possible to pass custom parameters to a custom validator?
I was looking at documentation for creating a custom validator here:
https://handsontable.com/docs/7.4.2/Options.html#validator
I’m trying to create a validator for text length, but have it dynamic based on column.
The current method signature looks like:
validator: function(value, callback) {
…
}
How could I also pass in the “maxlength” to this function so that I can dynamically validate text lengths on a per column basis?