Project

General

Profile

Actions

Bug #12036

open

Change of WCheckBox state removes additional css classes

Added by Andreas Frolov 6 months ago. Updated 5 months ago.

Status:
Implemented @Emweb
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 6 months 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 6 months ago

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

Updated by Matthias Van Ceulebroeck 6 months ago

  • Target version changed from 4.10.2 to 4.10.3
Actions #4

Updated by Matthias Van Ceulebroeck 5 months ago

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

Also available in: Atom PDF