AOSSIE-Org / AOSSIE-Org/EduAid

[ENHANCEMENT]: Add direct numeric input for "Number of Questions"

Offen
#647 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
171
Forks
425
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature and its Use Cases

Description:
The current "Number of Questions" control only supports increment and decrement via +/- buttons, with a default value of 10.

This approach becomes inefficient when users need to input larger values, as it requires repeated clicking.

Problem:

Poor scalability of input mechanism
Increased user effort for larger values
No direct input option

### Additional Context

Proposed Solution:
Introduce a numeric input field (input type="number") alongside the existing +/- controls, allowing users to directly enter the desired number of questions.

Expected Behavior:

Users can:
Use +/- buttons (existing behavior), or
Type a number directly into the input field
Input is validated (minimum value = 1)
Invalid or empty input is handled gracefully
Existing functionality remains unchanged

Image

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.