@Ewoud
So, there are some syntax issues with your formula, but let's outline it now...
Saving as Draft or Submitting:
For this, I would put a variable into action. Let's call it lclStatus.
Now, for the Default property of your Status datacard in your EditForm, put the following formula:
If(!IsBlank(lclStatus),
{Value: lclStatus;
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"
};
ThisItem.ChoiceColumn
)
In your Save as Draft (opslaan) button OnSelect action, put the following formula:
UpdateContext({lclStatus:"Concept"});;
SubmitForm(frmNieuweAanvraag);;
UpdateContext({lclStatus:Blank()})
In the OnSuccess action of your frmNieuweAanvraag edit form, put the following formula:
Navigate(ScnOverview;ScreenTransition.Cover)
In your Submit (Indienen) button put the following formula (and actually, I am not sure what you are using for submitted status in your Choice column, but substitute the "Ingediend" below with that):
UpdateContext({lclStatus:"Ingediend"});;
SubmitForm(frmNieuweAanvraag);;
UpdateContext({lclStatus:Blank()})
The above should give you the ability to save as a submitted record or a draft record based on your Choice column.
Now, for the visibility of the icon on your gallery.
You can replace the Visible property of your Icon with this formula : ThisItem.Status.Value = "Concept"
There is no need for the redundant If ... true; false. The formula above will evaluate to true or false already.
However - the real question is why this would not work and give you an error. I notice that you have the status aanvraag in a label. That seems to work, so what is the formula on the Text property of that label?
And also, just to be clear, your Status column is NOT defined in SharePoint as a "checkbox" choice column (multiple selections)?