Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Text fields on profile edit only editable after deleting one char #134

Open
Baschdl opened this issue Jul 11, 2020 · 5 comments
Open

Text fields on profile edit only editable after deleting one char #134

Baschdl opened this issue Jul 11, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@Baschdl
Copy link
Contributor

Baschdl commented Jul 11, 2020

Text fields on matching/A/info/{uuid}/edit/ are only editable after deleting one char

@Baschdl Baschdl added the bug Something isn't working label Jul 11, 2020
@Baschdl
Copy link
Contributor Author

Baschdl commented Jul 11, 2020

@feeds Any idea?

The view has the fields disabled

self.helper = FormHelper()
for field in self.fields:
self.fields[field].disabled = True
self._hide_dropdown = (

but the edit hasn't

self.helper = FormHelper()
self.helper.form_tag = False
self.helper.add_input(
Submit(
"submit",

Do we have to do more than this?

@feeds
Copy link
Collaborator

feeds commented Jul 12, 2020

I don't really understand the bug report. You have to delete which char? What does not work? Submitting? Changing the text at all?

@Baschdl
Copy link
Contributor Author

Baschdl commented Jul 13, 2020

@feeds I cannot add chars to a text field when I visit /edit/. I can add chars after first deleting at least one char.

@feeds
Copy link
Collaborator

feeds commented Jul 13, 2020

That is a really weird bug.

We only disable fields in the view cause we want to keep the layout of the form. But other than that you cannot conclude anything from the view to the edit.

I have no idea why this is happening

@Baschdl
Copy link
Contributor Author

Baschdl commented Jul 13, 2020

Can you at least reproduce it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants