Project

General

Profile

Bug in Wt::WLabel?

Added by lm at almost 5 years ago

https://imgur.com/XRwPRhf.png

The "for" property of the <label> appears to be referencing a unique object id that doesn't exist in the dom? The related code is

    auto recovery_code_label {new Wt::WLabel{"Recovery Code:"}};                                                                   
    auto recovery_code {new Wt::WLineEdit{u->get_hash()}};                                                                         
    recovery_code_label->setBuddy(recovery_code);

Replies (2)

RE: Bug in Wt::WLabel? - Added by Roel Standaert almost 5 years ago

So is the recovery_code WLineEdit shown? And it has a different id?

RE: Bug in Wt::WLabel? - Added by lm at almost 5 years ago

Ah, I have made a mistake. For some reason, I thought the <label> was supposed to be "for" the <span> and thought the IDs mismatched. Sheesh... sorry!

    (1-2/2)