Project

General

Profile

Bug #8698

Adding suffix to WDoubleSpinBox breaks validation

Added by Georg Wenig about 1 year ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/15/2021
Due date:
% Done:

100%

Estimated time:

Description

Setting a suffix on a WDoubleSpinBox breaks its built-in validation (i.e. all values entered by the pressing the spin controls are considered invalid). On the contrary, setting a suffix on a WSpinBox does not interfere with validation.

Additional info: Wt version 4.5.0 on Ubuntu 20.04.1 on WSL2 in Win10


Files

main_spinbox.cpp (792 Bytes) main_spinbox.cpp Minimal example code Georg Wenig, 06/15/2021 04:09 PM
#1

Updated by Korneel Dumon 10 months ago

  • Status changed from New to InProgress
  • Assignee set to Korneel Dumon
#2

Updated by Korneel Dumon 10 months ago

  • Target version set to 4.7.0
#3

Updated by Korneel Dumon 10 months ago

  • Status changed from InProgress to Review

There were some outdated constructor calls in WSpinBox.js causing the validator to be incorrectly initialized.

#4

Updated by Roel Standaert 9 months ago

  • Target version changed from 4.7.0 to 4.6.0
#5

Updated by Roel Standaert 9 months ago

  • Status changed from Review to Implemented @Emweb
#6

Updated by Roel Standaert 9 months ago

  • % Done changed from 0 to 100
#7

Updated by Roel Standaert 9 months ago

  • Status changed from Implemented @Emweb to Resolved
#8

Updated by Roel Standaert 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF