Skip to content

Error in query form for number field #2806

@MV88

Description

@MV88

Description

There is a state mutation error if you try to insert a non-numeric value in a numberic field
probably is due to the NaN fieldValue passed in the state.

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • Chrome 65.0.3325.181

Steps to reproduce

  • add Unesco itemss layers and open query form
  • add a attribute filter with "seriale" field
  • insert a letter (nothing happens)
  • insert another a letter

Expected Result

  • nothing happens (at least no error occurs)

Current Result

it throws the error and the app is no longer usable (i.e. blocked).

Other useful information (optional):

here is the error
image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions