Bug report #18297
Minimum value not accepted in range widget with "allow null"
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26188|
Steps to reproduce:
- Take an integer field
- Configure a range widget with * min 0 * max 10 * step 1 * allow null True
Try to enter a value of 0
Fix int range widget minimum value
The int range widget so far assigned NULL to the minimum value when allowNull was activated. This made it impossible to enter the minimum value into a range widget.
This also fixes some signals which in case of a NULL value would emit a slightly-below-minimum value for double and int spinboxes.
#1 Updated by Anonymous about 5 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|0b49a83a89615ac01d624ad2108ad538b83296d8.
#2 Updated by Giovanni Manghi about 5 years ago
- Resolution set to fixed/implemented