Expand description
OtpInput — a row of single-character boxes for one-time codes.
Backed by a single &mut String; only the configured number of characters
is kept. Click to focus the group, then type — digits fill left to right
and Backspace removes the last one. The returned Response reports
.changed() on edits.
ⓘ
ui.add(sc::OtpInput::new(&mut self.code).length(6));