Skip to content

Fields - Setting VISIBLE to FALSE sets field value to NULL despite defaultValue being set #543

@randomblink

Description

@randomblink

I have a STATUS field on my GeoForm.
I have set the defaultValue to 'Pending' and the visible to false.
The points I create have a STATUS of null.

I need the points to have a STATUS of 'Pending' like the defaultValue says.

If I set visible to true then the user can change the STATUS which I do not want.
Why does the visible setting basically nullify the fields value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions