Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create component that accepts barcode scan #9

Open
jmiranda opened this issue Jul 16, 2021 · 0 comments
Open

Create component that accepts barcode scan #9

jmiranda opened this issue Jul 16, 2021 · 0 comments

Comments

@jmiranda
Copy link
Member

After scanning data into the field the field

  • should either store data in field as-is or should pull extra data using API.
  • should be read only
  • should transition focus to the next input field when available.
  • should display an error if API request does not return data

For example a SKU field should attempt to lookup the product associated with the SKU. The SKU and product name should be visible / read only. Clicking on the field should make it editable / scannable again.

In the case that the field is the only field on the page then subsequent scans could potentially update the field value even when the field is read only but we'd need to check if usability is ok there. I think a better approach for single field pages would be to move to the next page (in case of a wizard).

Note: We'll need a separate component for searching by SKU and bin location. This component should not exhibit behavior above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant