Skip to Content
0
Oct 17, 2019 at 10:55 AM

Error Status issue in custom column of a smart table in SAPUI5

110 Views

HI

I am new to the community.

I have a responsive smart table, where i have added 2 custom columns which contains input as fields. In one of the column, i had value suggestion. So, if the entered value is not in the suggested values which are coming from back end, we get an error status and a message, as a response.

But the problem is whenever the user enters the wrong value, the entire column editable fields are getting error status, like that in the image that i have attached. Requirement is to set the status to only one input field where user entered wrong value.

<cells>

<Input value="{Receiver}" showValueHelp="true" change="onCustomInputChange" liveChange="onCustomInputChange" valueHelpRequest="handleReceiver" maxSuggestionWidth="30%" enableSuggestionsHighlighting="true" filterSuggests="true" showSuggestion="true" valueLiveUpdate="true" suggest="handleSuggest" suggestionItems="{path:'/NewReceiverF4Set', templateShareable:false}" editable="{Editable}">

<suggestionItems>

<core:ListItem text="{Newreceiver}" additionalText="{Name}"/>

</suggestionItems>

</Input>

Thanks.

Attachments

errorall.png (7.0 kB)