Skip to content

expression like "CASE WHEN "other_column" = 'no' THEN NULL END" work on QGIS, block/lock column on MM #4473

@gioman

Description

@gioman

Description

In a form in QGIS set the default value for a column as

CASE WHEN "other_column" = 'no' THEN NULL END

This works perfectly fine, if "other_column" value is set to "no" (in my case with a checkbox widget) then the content of the column where the default is applied is set/reset to NULL.

On the other hand on MM App this expression has the effect of blocking/locking the column, meaning that it turn as if was set to be not editable.

MM plugin 2026.3.0
MM App 2026.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    formsrelated to attribute formsquestion

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions