match4everyone / match4everything

Other
7 stars 0 forks source link

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

Open Baschdl opened 4 years ago

Baschdl commented 4 years ago

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

Baschdl commented 4 years ago

@feeds Any idea?

The view has the fields disabled https://github.com/match4everyone/match4everything/blob/d3d22504c26c94a2aa5cb62235e59464d90d4199/backend/apps/matching/forms/participant_view_info.py#L16-L20

but the edit hasn't

https://github.com/match4everyone/match4everything/blob/d3d22504c26c94a2aa5cb62235e59464d90d4199/backend/apps/matching/forms/participant_edit_info.py#L17-L21

Do we have to do more than this?

feeds commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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 commented 4 years ago

Can you at least reproduce it?