When am trying to update the editable grid , the attached code throws an error

When am trying to update the editable grid , the attached code throws an error
Expression evaluation error in rule 'rule': Cannot select without a Value
Any solutions/changes to the code?


Sample Code

OriginalPostID-158041

OriginalPostID-158041

  Discussion posts and replies are publicly visible

Parents
  • @Tim,
    Here is the code
    a!gridRowLayout(
    id: ri!index,
    contents: {
    a!textField(
    label:"Req id",
    value: ri!staffingDetails[ri!index].requestIdDetails,
    saveInto: ri!staffingDetails[ri!index].requestIdDetails
    ),
    a!textField(
    label:"ST ID",
    value: ri!staffingDetails[ri!index].standardId,
    saveInto: ri!staffingDetails[ri!index].standardId
    ),
    a!textField(
    label:"SF ID",
    value: ri!staffingDetails[ri!index].staffingId,
    saveInto: ri!staffingDetails[ri!index].staffingId
    )
    }
    )

    @Sonal, i have already gone through that post, but that is not helpful. Iam trying to test that first in interface.
Reply
  • @Tim,
    Here is the code
    a!gridRowLayout(
    id: ri!index,
    contents: {
    a!textField(
    label:"Req id",
    value: ri!staffingDetails[ri!index].requestIdDetails,
    saveInto: ri!staffingDetails[ri!index].requestIdDetails
    ),
    a!textField(
    label:"ST ID",
    value: ri!staffingDetails[ri!index].standardId,
    saveInto: ri!staffingDetails[ri!index].standardId
    ),
    a!textField(
    label:"SF ID",
    value: ri!staffingDetails[ri!index].staffingId,
    saveInto: ri!staffingDetails[ri!index].staffingId
    )
    }
    )

    @Sonal, i have already gone through that post, but that is not helpful. Iam trying to test that first in interface.
Children
No Data