Hello there,
I have a Sharepoint List that contains a column called Title, I want the entry control of this field to be a dropdown which is populated from a collection, my problem is with the default value of the dropdown. I did the following:
1- Deleted the TextBox on the EditForm and replaced it with 'dropdown'
2- Updated the 'Default' property of the 'dropdown' to Parent.Default
3- Updated the 'Update' property of the parent DataCard to dropdown.Selected.Value
4- The Defualt value of the parent DataCard is ThisItem.Title
5- the 'Item' property of the EditForm is 'BrowseGallery.Selecte'
now, when I enter the EditScreen in Edit Mode it is all fine but when I enter the EditScreen in New Mode the dropdown is showing the value of the Title in the 'BrowseGallery.Selected' while it should be blank (I have a blank entry at the top of the column of the collection)
I am using RestForm on the OnSuccess event
I tried resting the dropdown manually using UpdateContext({ ResetVar: true }); UpdateContext({ ResetVar: false }) on the OnSuccess event of the EditForm but didn't work
The Only workaround that worked is using UpdateContext({ ResetVar: true }); UpdateContext({ ResetVar: false }) on the OnVisible event of the EditScreen which looks very stupid since the value of the BrowseGallery.Selected.Title appears for a second before it gets wiped
Any Ideas?
Thanks
Alaa

Report
All responses (
Answers (