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

Coronavirus: cannot type country name #47780

Closed
systemcrash opened this issue Mar 11, 2021 · 7 comments
Closed

Coronavirus: cannot type country name #47780

systemcrash opened this issue Mar 11, 2021 · 7 comments

Comments

@systemcrash
Copy link
Contributor

systemcrash commented Mar 11, 2021

The problem

Typing the first few country letters to quickly find it in the drop-down list results in an error when finally selecting the country:

User input malformed

What is version of Home Assistant Core has the issue?

## System Health  version | core-2021.3.3 -- | -- installation_type | Home Assistant Container dev | false hassio | false docker | true virtualenv | false python_version | 3.8.7 os_name | Linux os_version | 4.4.59+ arch | x86_64 timezone | Europe/Stockholm  <details><summary>Home Assistant Community Store</summary>  GitHub API | ok -- | -- Github API Calls Remaining | 4990 Installed Version | 1.11.3 Stage | running Available Repositories | 746 Installed Repositories | 2  </details>  <details><summary>Home Assistant Cloud</summary>  logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok  </details>  <details><summary>Lovelace</summary>  dashboards | 2 -- | -- resources | 0 views | 1 mode | storage  </details>

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Link to integration documentation on our website

No response

Example YAML snippet

# Put your YAML below this line

Anything in the logs that might be useful for us?

# Put your logs below this line
No log errors. 

This regards this component:

https://github.com/home-assistant/core/tree/dev/homeassistant/components/coronavirus

@mib1185
Copy link
Contributor

mib1185 commented Mar 12, 2021

I have successfuly added 4 countries by each time starting to type in the first two letters and then clicked on the entry:
image

I can't reproduce the issue (MS Edge Chromium 89.0.774.50).

Which browser did you use?
Did you already tried to clear the browser cache?
Did you also tried different countries?
If issue is reproducible, than please provide some screenshots..

@systemcrash
Copy link
Contributor Author

This only seemed to occur for the first country, yesterday, when first adding the integration. Adding subsequent countries was OK, I recall. Remove all your countries and the integration, then start a-fresh, and you might see the problem.

Firefox 86.0.1
Yes
Yes, subsequent countries don't complain.

Screenshot 2021-03-13 at 00 24 26

Although currently I can continue beyond the error:
Screenshot 2021-03-13 at 00 25 44

Here it is in action:

Screen Capture 2021-03-13, 00 28 43_d

@mib1185
Copy link
Contributor

mib1185 commented Mar 13, 2021

OK ... after your screen capture I was able to reproduce it and also get the difference and cause.
In your workflow you are selecting the entry by hitting enter key (but by not by clicking on it) which already starts the input validation, but at this moment there are only first two letters "Sw" in input form which causes an validation error.

IMHO this is an frontend related issue, but not HA core, therefore please open an issue on https://github.com/home-assistant/frontend repository.

@systemcrash
Copy link
Contributor Author

OK - thanks. I've opened an issue there. Please keep this issue open for the time-being.

@probot-home-assistant
Copy link

Hey there @home_assistant/core, mind taking a look at this issue as its been labeled with an integration (coronavirus) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@probot-home-assistant
Copy link

coronavirus documentation
coronavirus source
(message by IssueLinks)

@frenck
Copy link
Member

frenck commented Apr 15, 2021

Looking at this issue, this is a pure frontend issue at this point, for which an issue is created.
There is no use in keeping this one open, as there is nothing that can be done from the backend perspective.

Closing it for that reason.

@frenck frenck closed this as completed Apr 15, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants