CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

AllowUserChoice not displaying value

by sbsllc » 17 Oct 2018 02:00

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
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37

by Alexander Bulei » 18 Oct 2018 09:12

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sbsllc » 18 Oct 2018 11:40

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.
sbsllc
 
Posts: 101
Joined: 01 Jul 2014 01:37


Return to JQDropDown

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.