Page 1 of 1

AllowUserChoice not displaying value

PostPosted: 17 Oct 2018 02:00
by sbsllc
I have a dropdown field attached to a dataset and have AllowUserChoice = True. When I entered a value that is not in the ListDatasource it's not displayed after I post the dataset. If I select a value from the ListDataSource it displays fine after a post.

Is there a way to display text from a dataset field in the dropdown even if it's not a value in the ListDataSource?

Delphi Tokyo 10.2
CGDev 4.1.0.98
IW 14.1.13

Re: AllowUserChoice not displaying value

PostPosted: 18 Oct 2018 09:12
by Alexander Bulei
Hi sbsllc,

When I entered a value that is not in the ListDatasource it's not displayed after I post the dataset.


Update your dataset after the post.

Best Regards.

Re: AllowUserChoice not displaying value

PostPosted: 18 Oct 2018 11:40
by sbsllc
Hi Alexander,

The dataset is updated. The only values I can get to display in the dropdown are ones selected from the dropdown list. If I have AllowUserChoice = True and they enter in something not in the list it does not display. The value they entered is posted to the dataset and is updated it just does not display.

I will try and get a sample app to you.