Project

General

Profile

Actions

Bug #2752

closed

Changing Suffix of a WDoubleSpinBox does not update javascript representation

Added by Stefan Ruppert about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/04/2014
Due date:
% Done:

0%

Estimated time:

Description

As you can see in the attached screenshot I have a combobox where the user can select the unit of the WDoubleSpinBox instances.

Changing the suffix with WDoubleSpinBox::setSuffix() will not update the suffix in HTML (/javascript?) thus the javascript validation will fail. See below the HTML code of the input field of the second screenshot.

<input id="oh33wn0" name="oh33wn0" size="10" title="The number may be at most 1000000"

 ==> value="0.05 ms"

 class="right Wt-spinbox Wt-invalid" style="display: block; -moz-box-sizing: border-box; position: absolute; width: 376px; left: 27px; height: 22px; top: 0px;" type="text">

Files

WDoubleSpinBox-ok-with-ms-suffix.png (26.6 KB) WDoubleSpinBox-ok-with-ms-suffix.png Dialog open with ms suffix Stefan Ruppert, 03/04/2014 05:47 PM
WDoubleSpinBox-bad-with-s-suffix.png (26.3 KB) WDoubleSpinBox-bad-with-s-suffix.png Dialog changed to s suffix Stefan Ruppert, 03/04/2014 05:47 PM
Actions #1

Updated by Koen Deforche almost 10 years ago

  • Assignee set to Michael Vilsker
  • Target version set to 3.3.3
Actions #2

Updated by Koen Deforche almost 10 years ago

  • Status changed from New to InProgress
  • Assignee changed from Michael Vilsker to Koen Deforche
Actions #3

Updated by Koen Deforche almost 10 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche almost 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF