OpenSlides / openslides-client

Webclient for OpenSlides 4+
MIT License
3 stars 33 forks source link

Elections: Note has wrong layout #4210

Open MSoeb opened 1 month ago

MSoeb commented 1 month ago

Describe the bug During election creation a layout error appears. If a user enters a wrong number for Minium amount of votes or Maxium amount of votes, a note appears. This notes overlapps the following content and is hard to read.

Example with 'Minimum amount of votes': image

How to Reproduce Steps to reproduce the behavior:

  1. open meeting
  2. open election
  3. Add two candidates
  4. Create election > In dialog: Choose as 'Voting method' 'Yes per candidate' > enter in 'Minium amount of votes' a '3' > note should appear.

Expected behavior Information notes about wrong numbers in Min/Max amount of votes should not overlapp the following content and they should be easily readable.

reiterl commented 1 month ago

I can reproduce the problem with English too. The html of this component seems to be the 'base-poll-form.component.html'. The field 'min_votes_amount' is the problem.

reiterl commented 1 month ago

I don't have a quick fix.