Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem defaltValue with optionDataSource

    Hello,

    I'm using SmartClient_v91p_2014-03-23_PowerEdition and when I set the defaultValue to a combobox with optionDataSource it doesn't choose the value according to the valueField it just enter the value as it. I want to get the same functionality as written in the setValue documentation:

    Set the value of the form item to the value passed in
    Code:
    NOTE: for valueMap'd items, newValue should be data value not displayed value

    #2
    This functionality is working as expected in the latest patched build.

    Note that due to fetchMissingValues, you will see a fetch to the server to retrieve the display value. If your DataSource responds incorrectly to this request, you would create the problem you describe.

    If you think there's a framework issue here, please show a way to reproduce the problem.

    Comment


      #3
      You are right it was a problem with the responding of the request. Thank you.

      Comment

      Working...
      X