Add TWO options when No Results Found (AJAX)

Hi!

I would like to show two options when no results are found:

  • “Create new XXXX”
  • “Advanced search XXXX”

For the first option I’m using this and it works:

			tags: true,
			insertTag: function(data, tag){
				tag.id = -1;
				data.push(tag);
			},
			templateResult: function (myitem) {
				if (myitem.id==-1) {
					var $span = $("<span><i class=\"fas fa-user-plus\"></i> Crete new '" + myitem.text + "'</span>");
					return $span;
				}
				else
					return myitem.text
			},.......

But I don’t know if it is possible to add a second option after that one.

Is it possible?