Skip to content

Upload limit: Display helpful error when input is malformed #2291

@vanshikaarora

Description

@vanshikaarora

Upload Limit 0 or special characters shouldn't be allowed:

In the Settings Activity there is an option of setting the upload limit which should accept numbers fro 0 to 9 and some special characters shouldn't it display an error and disable ok button if the user has typed any such character.

Steps to reproduce:

  • Go to settings Activity

  • Tap the option SetUploadLimit

Currently if you type something irrelevant than it discards the current entered value and keeps the previous one. Instead we can display a message indicating that such numerals or characters are not allowed.

Device and Android version:
vivo 1713 API 24

Commons app version:
2.9.0-debug-sub_categories~677e0099

Would you like to work on the issue?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions