You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if and how is it possible to use lamda functions as validator for data input.
In my opinion writing classes derived from another module's class, with its own object type, and that in the end only contain one single function which executes a simple test, seems a bit heavy and convoluted.
It apparently is possible to do so, but as far as I could tell there are two provided examples using lambdas as validators (editor and checkbox), and neither of them work (see #161 and #70).
So, is it actually possible to use lambdas, and if so, how ?
Thanks !
The text was updated successfully, but these errors were encountered:
Hi,
I was wondering if and how is it possible to use lamda functions as validator for data input.
In my opinion writing classes derived from another module's class, with its own object type, and that in the end only contain one single function which executes a simple test, seems a bit heavy and convoluted.
It apparently is possible to do so, but as far as I could tell there are two provided examples using lambdas as validators (
editor
andcheckbox
), and neither of them work (see #161 and #70).So, is it actually possible to use lambdas, and if so, how ?
Thanks !
The text was updated successfully, but these errors were encountered: