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

Survey in Display Mode - A file upload button remains, and the selected Rate option is rendered with a Primary color #6425

Closed
vitexikora opened this issue Jun 23, 2023 · 4 comments · Fixed by #6610
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@vitexikora
Copy link

Are you requesting a feature, reporting a bug or asking a question?

Buig

What is the current behavior?

File & Rating input elements are not correctly rendered

What is the expected behavior?

File input has file-picker icon rendered, that does nothing:
file

Rating, as the only disabled input, is rendered with primary color:
rating

How would you reproduce the current behavior (if this is a bug)?

Render filled survey in display mode with file & rating inputs

Specify your

  • browser: Firefox
  • browser version: 114.0
  • surveyjs platform (angular or react or jquery or knockout or vue): react
  • surveyjs version: 1.9.79 & 1.9.93 (happens on both)
@andrewtelnov andrewtelnov added bug user issue An issue or bug reported by users labels Jun 23, 2023
@andrewtelnov
Copy link
Member

@vitexikora Thank you for reporting this issue.

Thank you,
Andrew

@JaneSjs JaneSjs assigned JaneSjs and unassigned tsv2013 and OlgaLarina Jun 27, 2023
@JaneSjs JaneSjs added question need more info and removed bug user issue An issue or bug reported by users labels Jun 27, 2023
@JaneSjs
Copy link
Contributor

JaneSjs commented Jun 27, 2023

Hello,
Thank you for reporting this issue. However, I require additional clarification from your side. I created the following demo: https://plnkr.co/edit/b9wuY3pgNYnsRxGX.

In read-only mode (mode: "display"), the File and Rating questions appear as follows:
image

By looking at your screenshot, I suppose you've using custom CSS styles. Would you please share a demo reproducing the issue?

@vitexikora
Copy link
Author

Hello,

as I said and is notable from the screenshot, it is happening for a filled-in survey.
See modified plunker: https://plnkr.co/edit/7gFqOFr7c8RYFyyk?preview

@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 24, 2023

Hello @vitexikora,
Please accept my apologies for the delayed reply. Thank you for sharing the demo. I reproduced the following issues.

  • A file upload button is preserved in Display mode.
    image

  • The selected Rate option is rendered with a Primary color.
    image

We will research this issue and update this thread once we have any news to share.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users and removed question need more info labels Jul 24, 2023
@JaneSjs JaneSjs changed the title Survey in display mode has a few inconsistencies Survey in Display Mode - A file upload button remains, and the selected Rate option is rendered with a Primary color Jul 24, 2023
@JaneSjs JaneSjs removed their assignment Jul 24, 2023
@tsv2013 tsv2013 self-assigned this Jul 26, 2023
tsv2013 added a commit that referenced this issue Jul 27, 2023
…and the selected Rate option is rendered with a Primary color
tsv2013 added a commit that referenced this issue Jul 27, 2023
tsv2013 added a commit that referenced this issue Jul 27, 2023
… rendered with a Primary color - updated etalon
andrewtelnov added a commit that referenced this issue Jul 27, 2023
Fixed #6425 - Survey in Display Mode - A file upload button remains, and the selected Rate option is rendered with a Primary color
@OlgaLarina OlgaLarina added this to the v1.9.101 milestone Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
5 participants