Skip to content

Commit

Permalink
add placeholders back for filters, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-red committed Oct 4, 2020
1 parent 50acdf4 commit c3bd565
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const renderWheres = (whereAnd, tableSchema, dispatch) => {
{opIsBoolean ? (
<select
className="form-control"
placeholder="-- value --"
onChange={e => {
dispatch(setFilterVal(e.target.value, i));
if (i + 1 === whereAnd.length) {
Expand All @@ -160,6 +161,7 @@ const renderWheres = (whereAnd, tableSchema, dispatch) => {
) : (
<input
className="form-control"
placeholder="-- value --"
value={getDefaultValue(clause[colName][opName], opName)}
onChange={e => {
dispatch(setFilterVal(e.target.value, i));
Expand Down

0 comments on commit c3bd565

Please sign in to comment.