eh so how do you fix this, I guess you have to override a function
http://static.simile.mit.edu/exhibit/api-2.0/scripts/ui/facets/text-search-facet.js or can you do in the facet not sure how to make a second dummy form input as it suggests On Feb 21, 12:46 pm, Vee <[email protected]> wrote: > I figured out the problem. IT is more of browser issue than Exhibit. > It had to do with single input field inside form (<form>...</form> > constructs) and browsers treating it as submit. In case any one else > sees this issue; this is where I found > answer....http://stackoverflow.com/questions/1370021/enter-key-on-a-form-with-a... > > Vee > On Feb 18, 11:49 am, Vee <[email protected]> wrote: > > > > > I am trying to use TextSearchfacet but it reloads page and resets > > all the filters if user hits enter key. I have tried with both 2.0 and > > 2.1 APIs. This is how I am calling TextSearch > > > <tr><td align="left"><div ex:role="facet" ex:facetClass="TextSearch"></ > > div></td></tr> > > > Just to narrow down the problem, I have also experimented with > > setting defaultsearchto require enter in text-search-facet.js file > > > "requiresEnter": {type: "boolean", defaultValue: true} > > > But instead of searching for term typed, it reloads all the items upon > > hitting enter. > > > Only other thing is I have used following styling info for text facet > > to limit the width of the box in my local CSS > > > div.exhibit-text-facet {width: 60%;} > > > Any suggestions on what I am not doing right ? -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
