Hello Everyone,
I'm new to PowerApps and have a form linked to a Sharepoint List.
I'm patching some data to a sharepoint list, and while I'm doing it, I'd want to see whether the combobox has a chosen item or if it's empty, and then I'd like to update the data in the sharepoint List column.
I can only complete the part when the Combobox is set to Data. However, I am unable to obtain the desired outcome if the combobox data is left blank. If somebody could assist me in this circumstance, it would be greatly appreciated.

If(
IsBlank(ComboBox2.Selected),
{'Column Name': "Data not present"},
{'Column Name': "Data Present"}
)
PATCH CODE :
ForAll(ComboBox1.SelectedItems As ColCollection,ForAll(ComboBox2.SelectedItems As B,ForAll(ComboBox3.SelectedItems As C,
Patch(PowerAppList,
Defaults(PowerAppList),
{Title: "Mr"},
{abc: Name.Text},
{Country: ColCollection.COMPANY},
{System: B.SYSTEM},
{'App Requested': C.'App requested'},
If(
IsBlank(ComboBox2.Selected),
{'A': "Data not present"},
{'B': "Data Present"}
)
)
)
)
);