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

FileControl rendering issue #1182

Open
johnsully83 opened this issue May 18, 2021 · 0 comments
Open

FileControl rendering issue #1182

johnsully83 opened this issue May 18, 2021 · 0 comments

Comments

@johnsully83
Copy link
Member

Describe the bug
When using FileControl, when selecting a file using the 'Browse file' mechanism, then deselecting it, then reselecting the same file, the UI doesn't update to show that a file is selected.

To Reproduce
Steps to reproduce the behavior:

  1. When rendering a FileControl (is reproducible on http://bullhorn.github.io/novo-elements/#/form-controls/form)
  2. Click on the FileControl to open the browse files dialogue
  3. Select a random file
  4. Clear the control using the 'X'
  5. Click on the FileControl to open the browse files dialogue
  6. Select the same file as in step (3)

Expected behavior
The UI should show the name of the file selected and should display as populated (i.e. if the Control is required it should be valid)

Actual behavior
The UI remains un-updated and if the Control is required displays as not populated

Specifications

  • Version: Current
  • Platform: Windows Chrome

Screenshots
image

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