By: Michael Lynch <git@mtlynch.io>
Restore autocomplete in grocery item edit forms
Inline grocery item edits were still rendering plain text inputs for the name and section fields, so Firefox Android did not offer the same autocomplete behavior that the add-item form already had.
Switch the shared edit-fields partial to use the autocomplete custom element for those two fields and add a handler-level regression test for GET /api/groceries/{id}/edit.
Testing:
- go test ./handlers -run TestGroceryEditFormUsesAutocompleteInputs
- nix flake check
Known limitation:
- ./dev-scripts/git-hooks/pre-commit currently fails because ESLint scans pre-existing third-party files under /workspace/reference/little-moments/.