- I'm working to create an add-on using the Google Apps script. Almost everything is completed and working fine.
- I have a text field of auto-suggestions from the server side(basically data will come from the backend through fetch API call). Fetch functionality and auto-suggestions everything is working fine.
- But, while fetching the data or typing on the text fields, keep on getting "Server failed to fetch the suggestions" error toast notification.
- Somehow I need to block(disable) the toast notification or change error text to Loading...
var txt_search = CardService.newTextInput()
.setFieldName('txtfield_service')
.setTitle('Enter Service Name')
.setHint('Enter at least 4 characters.')
.setSuggestionsAction(
CardService.newAction().setFunctionName("getallservices")
);
Kindly help me on this, I am completely stuck on this issue. Almost everything is ready, the client is telling me to block the error toast notification.
Thanks, In advance.
GopalaKrishnan.R
