Hi All,
I have EditForm in Powerapps which loads item from SharePoint. There is a combobox called Event in the form, where particular SharePoint item Event Value is correctly loaded.
DefaultSelectedItems is {Vaue:ThisItem.Event}, Default is blank. Items Property is set to DataSourceName.Event
In the data card update property value of Event, it is set to ComBox3_1.Selected.Event which is correct.
However when I try to save the form, it throws validation error "Entry is required" for Event combobox, despite its preselected with the value. Once I reselect the value in combobox, the error goes away. Any idea on how to solve this error.
Solved! Go to Solution.
Hi @Iantaylor2050,
Do you mean that the Combo Box has the error message even when there is a value within, the required validation not working?
Could you please tell me more about your sceanrio?
I have a test and the situation is confirmed on my side. I think this is a problem caused by inconsistent data structures.
Modify your formula in the DefaultSelectedItems as below:
{Event:ThisItem.Event}
Hope it could help.
Regards,
Qi
What happens if you change DefaultSelectedItems of combobox to ComboBox3_1.Selected.Value
and the data card Update property to ComboBox3_1.Selected
Hi @Iantaylor2050,
Do you mean that the Combo Box has the error message even when there is a value within, the required validation not working?
Could you please tell me more about your sceanrio?
I have a test and the situation is confirmed on my side. I think this is a problem caused by inconsistent data structures.
Modify your formula in the DefaultSelectedItems as below:
{Event:ThisItem.Event}
Hope it could help.
Regards,
Qi
I tried the same but still it doesn't work. It again throws the validation error "Entry is required".
It is an Editform which loads the data from SharePoint submitted in the NewForm. All other fields working fine except the combobox field.
Even tried with {Value:Parent.Default} and {Result:Parent.Default}. Still doesn't work. Any idea what could be the issue ?
I too have struggled with the nuances of the combo box. There are a lot of resources out there, however not one has directly referenced this issue. Even the super user blog on one of these comments. If you still require a solution I believe I was able to finally overcome this issue with the error. I use a combo box to retrieve a list of items (in a powerapp customize form app). I deleted the datacardvalue.text and replaced it with a combo box. That gets tricky on the edit portion of the user function.
User | Count |
---|---|
259 | |
110 | |
97 | |
52 | |
39 |