Project

General

Profile

Actions

Bug #8698

closed

Adding suffix to WDoubleSpinBox breaks validation

Added by Georg Wenig over 3 years ago. Updated almost 3 years 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
Actions #1

Updated by Korneel Dumon about 3 years ago

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

Updated by Korneel Dumon about 3 years ago

  • Target version set to 4.7.0
Actions #3

Updated by Korneel Dumon about 3 years ago

  • Status changed from InProgress to Review

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

Actions #4

Updated by Roel Standaert about 3 years ago

  • Target version changed from 4.7.0 to 4.6.0
Actions #5

Updated by Roel Standaert about 3 years ago

  • Status changed from Review to Implemented @Emweb
Actions #6

Updated by Roel Standaert about 3 years ago

  • % Done changed from 0 to 100
Actions #7

Updated by Roel Standaert about 3 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #8

Updated by Roel Standaert almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF