You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When entering the name of a category in the Admin dashboard, if past suggestions pop up and a suggestion is highlighted using the arrow keys, clicking "Save" results in an Apollo error. This seems to occur because the auto-suggestion in Google Chrome sends the input incorrectly, leading to a validation failure (Hypothesis).
Steps to Reproduce:
1-Navigate to the Admin dashboard.
2-Start typing the name of a category in the category input field.
3-When past suggestions appear, use the arrow keys to highlight one of them.
4-Click "Save" while a suggestion is highlighted.
5-Observe the error.
Expected Behavior:
The selected suggestion should be correctly recognized as valid input, and the category should be saved without any errors.
Actual Behavior:
An Apollo error occurs, and the category is not saved. The input is not recognized as valid due to incorrect handling by the auto-suggestion feature in Google Chrome.
Environment:
Browser: Google Chrome
Affected feature: Category name input in Admin dashboard
Issue: Apollo error when saving
Hypothesis:
The auto-suggestion mechanism in Google Chrome may be sending incorrect input data, leading to a validation error when trying to save the highlighted suggestion.
Additional Information:
The issue occurs specifically when a suggestion is highlighted and "Save" is clicked while the suggestion is still active.
The error does not occur when typing the full category name manually without relying on auto-suggestions.
Possible Solution:
Investigate how the auto-suggestion input is being handled by the Apollo client, particularly when suggestions are highlighted using the arrow keys. Consider updating the input handling logic to correctly parse and validate the highlighted suggestion.
The text was updated successfully, but these errors were encountered:
Description:
When entering the name of a category in the Admin dashboard, if past suggestions pop up and a suggestion is highlighted using the arrow keys, clicking "Save" results in an Apollo error. This seems to occur because the auto-suggestion in Google Chrome sends the input incorrectly, leading to a validation failure (Hypothesis).
Steps to Reproduce:
1-Navigate to the Admin dashboard.
2-Start typing the name of a category in the category input field.
3-When past suggestions appear, use the arrow keys to highlight one of them.
4-Click "Save" while a suggestion is highlighted.
5-Observe the error.
Expected Behavior:
The selected suggestion should be correctly recognized as valid input, and the category should be saved without any errors.
Actual Behavior:
An Apollo error occurs, and the category is not saved. The input is not recognized as valid due to incorrect handling by the auto-suggestion feature in Google Chrome.
Environment:
Browser: Google Chrome
Affected feature: Category name input in Admin dashboard
Issue: Apollo error when saving
Hypothesis:
The auto-suggestion mechanism in Google Chrome may be sending incorrect input data, leading to a validation error when trying to save the highlighted suggestion.
Additional Information:
The issue occurs specifically when a suggestion is highlighted and "Save" is clicked while the suggestion is still active.
The error does not occur when typing the full category name manually without relying on auto-suggestions.
Screenshots/Logs:
(https://github.com/user-attachments/assets/1161efdc-31e9-48a4-b390-6fb8423acc56)
Possible Solution:
Investigate how the auto-suggestion input is being handled by the Apollo client, particularly when suggestions are highlighted using the arrow keys. Consider updating the input handling logic to correctly parse and validate the highlighted suggestion.
The text was updated successfully, but these errors were encountered: