Skip to content

Inconsistent behaviours when searching #13

@frolino

Description

@frolino

A couple of things:

  1. First, typing the ingredients in reverse order has inconsistent behaviour, particularly if one of the elements is a non-alphanumeric character - e.g., type "r" in the first input element, then type "." in the next input element. The results will still show something. However, once you refresh the page at that state, the results become blank. (If you type in reverse order - i.e., ".", then "r", the results will always be blank).
  2. If you type an empty space in an input text element, and then focus out of the element, the input text element does not get removed. It may be better to check the trimmed version of the input element's contents here, which gets rid of beginning and trailing whitespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions