Hello,
I am wanting to allow my update button to be greyed out since a change has occurred. I simply wish to merge these two if statements correctly, but it seems as though I am doing something wrong here.
Background

I am wanting the Update button to display as greyed out while keeping the existing logic within the app.
The existing logic is:
If(
Or(
IsBlank(NewFeatureDomainDD.SelectedText.Value),
IsBlank(NewFeatureStatusDD.SelectedText.Value)
),
DisplayMode.Disabled,
DisplayMode.Edit)
How do I also incorporate further logic:
If(IsUnsaved, DisplayMode.Edit, DisplayMode.Disabled)
I have tried to do:
If(
And(
IsBlank(NewFeatureDomainDD.SelectedText.Value),
IsBlank(NewFeatureStatusDD.SelectedText.Value)
UnSaved
),
DisplayMode.Disabled,
DisplayMode.Edit)
I am thinking these two statements must be merged? Any suggestions are appreciated.