Hi! Funny story explaining why I am here: company decided to migrate completely to Sharepoint online which killed our previous sites functionality with infopath + nintex workflow.
And I am the poor devil who made those previous sites so of course I am the one who needs to fix them (in this case make them from the beginning) in a completely new environment (powerapps + power automate) I didn't know existed 3 months ago.
Yikes.
Fortunately, Shane Young videos on repeating tables have saved me a lot of suffering. Shane, I think you frequent these forums, if you see this, all I can give you is a deep heartfelt 'thank you' and a subscriber (me) of course.
Now, I have a problem.
I have a button with this OnSelect code
ClearCollect(SKUDetails,{lineMat:"",shipQty:0,shipUOM:""});Navigate(scDetailUPS,ScreenTransition.Cover)
lineMat is a simple textbox, shipQty expects a number and shipUOM is a combo box (since I wanted search text). Until here all good.
The purpose of this is to create a collection in a gallery (repeating table) that will allow him to add as many lines as they want. Issue is that in the combobox control when I use ThisItem.shipUOM it gives this error. It doesn't affect when I patch to the sharepoint list, all values are added correctly but it bothers me to see this warning. I dont know what gives with this.
I think this error is what resets the user chosen value in the combobox when trying the app.
See example
When clicking on the + icon, the new line is creating but the option chosen by the user in Ship UOM disappears in the previous line, so all it shows is Material and Ship Qty but empty in Ship UOM.
+ icon OnSelect value is this:
Patch(SKUDetails,ThisItem,{lineMat: inputMaterial.Text,shipQty:Value(inputShipQty.Text),shipUOM:dropShipUOM.Selected.PRODUCT_UOM}); Collect(SKUDetails,{lineMat:"",shipQty:0,shipUOM:""})
.
Like I said, when patching to the sharepoint list the values are saved as the user entered them but it bothers me that they disappear. It might confuse the user into thinking he/she did something wrong.
I would appreciate any help I can get to resolve these two issues. I am not sure if they are simply bugs I will have to deal with or if it is my fault because I did something wrong.

Report
All responses (
Answers (