Condition value missing in request

Condition value missing in request

Peter SchulzPeter Schulz Posts: 8Questions: 1Answers: 0

Hi,

I'm using jQuery DataTables version 1.11.3 and Search Builder version 1.3.0. I'm forcing the user to press enter on each search (with option search: return). When I add a condition, do not press the enter key, add a second condition and then press the enter key, the second condition value is added to the request. The first condition is added without a value.

In the image below you can see that the request contains the Firstname without a value:
https://ibb.co/tqM2ZLb

To reproduce this issue:
- Open this url in your browser: https://wpdataaccess.com/search-builder-demo/
- Click ADD CONDITION
- Select Firstname / Contains / jose (do NOT press enter)
- Click ADD CONDITION
- Select Lastname / Contains / toll
- Press enter

This result is confusing for the user. Is there a way to force the Query Builder to add all values to the request is the user presses the enter key in any condition?

Thanks,
Peter

Answers

Sign In or Register to comment.