Editable Grid with dateField not updating due to index.

Certified Senior Developer

I am configuring an editable grid. I have a couple readOnly fields that get populated based on what the user selects in one of the other editable fields.

In this specific case, if the user selects a specific account number (the dropDownField(), the textfield above this gets updated. This field updates correctly. However, I get an error with that same if() statement for the dateField. How do I resolve this. See attached for code snippet and error.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Stewart Burchell

    items: local!updatedArngmt - which is used to update records in a rule input associated with a data entity. The data entity does have a datefield called 'effectiveDate' If I leave it as an edited field - I can update the date just fine. For some reason - it won't update based on the selection made in the previous instance. Does the Data Entity have to have an index on the date field? I know the other text field does. I also thought that if I could have the data displayed in the editable grid sorted by id - it might help too. 

Children