Project

General

Profile

Actions

Bug #12036

closed

Change of WCheckBox state removes additional css classes

Added by Andreas Frolov about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
10/16/2023
Due date:
% Done:

0%

Estimated time:

Description

Only with WBootstrap5Theme

setTheme(std::make_shared<Wt::WBootstrap5Theme>());

auto cb = Wt::WApplication::instance()->root()->addNew<Wt::WCheckBox>();
cb->setStyleClass("myclass");

Wt::WTimer::singleShot(std::chrono::milliseconds(5000), [cb]() {
  cb->setChecked(true);
  // "myclass" is gone
});
Actions #1

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from New to InProgress
  • Assignee set to Matthias Van Ceulebroeck
  • Target version set to 4.10.2
Actions #2

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Status changed from InProgress to Review
  • Assignee deleted (Matthias Van Ceulebroeck)
Actions #3

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Target version changed from 4.10.2 to 4.10.3
Actions #4

Updated by Matthias Van Ceulebroeck 12 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee set to Matthias Van Ceulebroeck
Actions #5

Updated by Matthias Van Ceulebroeck 3 months ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF