I have a combobox with a DropDownStyle of DropDownList. I have the string collection pre-populated with some values. The issue I am having is once the user selects a value, the user can never return the value to the default value on form load which is blank. I have tried adding a blank carriage return in the collection, but the blank carriage return seems to be removed when I save, close and re-open the form project. Is there anyway to achieve this? Thanks!
combobox dropdownlist, collection with empty value?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- joeypiccola
- Posts: 9
- Last visit: Mon Jun 18, 2018 7:44 am
Re: combobox dropdownlist, collection with empty value?
Thanks for reporting the issue. We are investigating this and will update you as soon as we have more information
- joeypiccola
- Posts: 9
- Last visit: Mon Jun 18, 2018 7:44 am
Re: combobox dropdownlist, collection with empty value?
@Olga_B, thanks for taking a look. Although, I am not sure there is an issue with PowerShell Studio. I am curious as to what the expected behavior is and how to accomplish what I am trying to do (if in the event I have a UI logic issue).
Thanks again,
Joey
Thanks again,
Joey
Re: combobox dropdownlist, collection with empty value?
Joey, the issue will be fixed with the next release.
For workaround add some <>, or simple text: 'Select item' instead of empty line
For workaround add some <>, or simple text: 'Select item' instead of empty line
- joeypiccola
- Posts: 9
- Last visit: Mon Jun 18, 2018 7:44 am
Re: combobox dropdownlist, collection with empty value?
In the interim I have added a tool tip instructing the users to select a lable to reset the values. Works for me!