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

Setting "Input Type" = "Long Answer" works only temporarily #494

Open
artnaseef opened this issue Sep 13, 2023 · 0 comments
Open

Setting "Input Type" = "Long Answer" works only temporarily #494

artnaseef opened this issue Sep 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@artnaseef
Copy link

On version 2.10.2

Problem description: setting a field to "Long Answer" only works temporarily

Steps to reproduce:

  • Add a field to the form
  • Change "Input Type" to "Long Answer"
  • NOTE at this time, the Input Type reverts back to "Short Answer" regardless of the old input type
  • ALSO NOTE: The uiSchema correctly contains "ui:widget":"textarea"
  • Make any other change to the form
  • The uiSchema drops the "ui:widget":"textarea" designation for that field

Expected Outcome

  • The "Input Type" field retains its "Long Answer" input type
  • The uiSchema field retains "ui:widget":"textarea" for the field when other form updates are made

Screen Shots

  • Initial field
    Screenshot from 2023-09-13 14-43-28
  • After changing "Input Type" to "Long Answer"
    Screenshot from 2023-09-13 14-43-41
  • After changing "Display Name" field (and not touching "Input Type")
    Screenshot from 2023-09-13 14-43-52
@raymond-lam raymond-lam added the bug Something isn't working label Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants