MerginMaps / MerginMaps/mobile

Range widget issues after validation refactoring

Open
#1,646 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug forms ui/ux
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

These issues on range widget were found during testing:

  • User can type in more decimal places than allowed in QGIS

  • Input ignores Allow NULL option from QGIS Range widget option. (NOTE: this is not NOT NULL constraint)
    image

  • 1e+111 is a valid number, 1e+1111 has error "Value must be a number". Probably different error would be better

  • When inserted really big number, +- signs are active but doesn't work

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the range widget validation path and compare its behavior with the QGIS Range widget options named in the issue, especially decimal precision and Allow NULL. Reproduce the listed large-number and sign-input cases; done means each reported behavior has appropriate validation and input handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.