Skip to content

Using lambda and not classes to validate inputs #171

Open
@b-grimaud

Description

@b-grimaud

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 and checkbox), and neither of them work (see #161 and #70).

So, is it actually possible to use lambdas, and if so, how ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions