✨ (form): Añade texto de ayuda a Checkbox

Documenta el criterio de uso de las cookies en PageTop y por qué no
requieren la aceptación del usuario.
This commit is contained in:
Manuel Cillero 2026-11-11 18:36:04 +01:00
parent e4a88b2150
commit a276a5f797
6 changed files with 138 additions and 15 deletions

View file

@ -18,7 +18,7 @@ fn help() -> Lc {
#[pagetop::test]
async fn single_controls_point_to_their_help_text() {
let cases: [(String, &str); 5] = [
let cases: [(String, &str); 6] = [
(
render(
&mut form::input::Field::text()
@ -49,6 +49,15 @@ async fn single_controls_point_to_their_help_text() {
.await,
"edit-e-select-help",
),
(
render(
&mut form::Checkbox::check()
.with_name("g")
.with_help_text(help()),
)
.await,
"edit-g-checkbox-help",
),
];
for (html, id) in cases {
assert!(