@grace3
Okay...let's review!
Try 1:
Items: ["8", "4"]
DSI : {Value: "4"}
Does not work
This SHOULD very well work. The Items and the DSI record are identical. This would match. If this doesn't then there is something else going on. (Comboboxes DO get confused sometimes and they need to be cut off the screen and then pasted back to "reset" them internally)
Try 2:
Items: Table({Value: "8"}, {Value: "4"})
DSI : {Value: "4"}
Does not work
This is actually 100% identical to the Try 1 above. ["8", "4"] is the same as Table({Value: "8"}, {Value: "4"})
Try 3:
Tried adding a brand new dropdown box:
Items: ["8", "4"]
no DSI for dropdown boxes. Set Default as ["4"], it shows up on form's edit mode, but when I play it and then change it, and then go back to edit and play again, it no longer rests back to 4.
Yes, dropdowns do not have selected Items (key there being the plurality...any time you see any property that ends in "s", it means it is a Table of records). Dropdowns only have a Default property because you can only select one item.
Keep in mind that you are dealing with Defaults. Any Default in PowerApps provides the value for when a control is initialized or reset. That means If you change a dropdown control, it will retain that value until reset.
Try 4:
Added if statement to the Default value of dropdown:
if (leave_type.Selected.Value = "Full day","8", "4")
This gives error.
This is a valid formula - so what is the error?