I require the user to select a value from a list/combobox and they then should be able to add some text to the selected value from the combobox. Of course you can not edit the selected value. I worked around the problem by putting the combobox in front of a text field and then copy the select value into the text field on the valuechanged event.

Is this the best way or is there another way given the current functionality of the combobox.

I found how to get the selected value from a combobox in the Q&A and agree with Michiel that maybe a special api call for dealing with the combobox would be nice. Using the suggested mechanism also requires you the create an unique index on the description column of your table with the identifier/description pair. As you have to use api_datasource.getcolumnvaluetxbypk on the datasource of your "List".

asked 01 Apr '14, 23:16

Raymond's gravatar image

accept rate: 0%

Hi Raymond,

Yes, the work around that you have implemented is the best way to handle your requirement. Also, thanks for the feedback about retrieving the selected value from the combobox.



answered 04 Apr '14, 16:38

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 01 Apr '14, 23:16

Seen: 1,411 times

Last updated: 04 Apr '14, 16:38

© Copyright Gerger 2017