tables icon indicating copy to clipboard operation
tables copied to clipboard

Add plus and minus buttons for counter

Open moritzbeck13 opened this issue 9 months ago • 4 comments

Is your feature request related to a problem? Please describe.

For quickly changing a value it would be nice to have plus and minus button.

Describe the solution you'd like

Either as an option for the existing counter type or a new field type. There should be specific values for incrementing and decrementing that also respect the min and max value.

Describe alternatives you've considered

Changing the number with the keyboard.

Additional context

No response

moritzbeck13 avatar Sep 27 '23 14:09 moritzbeck13

This will need some clarification on how this should be integrated UI wise and if always using a +1 or -1 is suitable enough or if that needs to be more advanced.

juliushaertl avatar Dec 04 '23 08:12 juliushaertl

Where exactly do we want to add this counter?

enjeck avatar Dec 27 '23 10:12 enjeck

@datenangebot and I were also a bit undecided about that. I think the use case is quite limited to numeric fields that are only used as a counter, so I'm not sure this is something we'd generally want to have?

cc @nextcloud/designers for input as well.

juliushaertl avatar Dec 28 '23 08:12 juliushaertl

We have something like that for the stars and I could imagine that we want to add that also for the progress column type. Maybe with a > symbol for +1 and a >> for +10 or so.

If we want to add that also for the number column type, we should think about a general "form options" section. So a section where we offer options to control the form part. I would say this is a good topic to put that on the roadmap. 🤷🏻‍♂️

datenangebot avatar Jan 02 '24 10:01 datenangebot