You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var dict = this.index.getComponentDict();
var methods = this.index.getComponentMethods();
// do this:
methods.reset();
// or do that:
dict.set('searchDefinition',"");
Both lines have the expected effect on components like IfInputEmpty. However, although IfInputEmpty= true, there is still something visible in the input tag itself.
Currently I'm adding this on top: $("#searchInput").val("")
and adding the id searchInput with inputAttributes.
Am I doing something wrong or is that the way to go?
The text was updated successfully, but these errors were encountered:
How to clear the content of the input tag?
Both lines have the expected effect on components like IfInputEmpty. However, although IfInputEmpty= true, there is still something visible in the input tag itself.
Currently I'm adding this on top:
$("#searchInput").val("")
and adding the id searchInput with inputAttributes.
Am I doing something wrong or is that the way to go?
The text was updated successfully, but these errors were encountered: