(bootsier): Añade componentes para formularios

This commit is contained in:
Manuel Cillero 2026-01-06 01:17:35 +01:00
parent b39ed38d0d
commit bfaf2e569f
9 changed files with 901 additions and 4 deletions

View file

@ -25,6 +25,13 @@ impl<T> Attr<T> {
// **< Attr<T> BUILDER >************************************************************************
/// Establece un valor opcional para el atributo.
#[builder_fn]
pub fn with_opt(mut self, opt: Option<T>) -> Self {
self.0 = opt;
self
}
/// Establece un valor para el atributo.
#[builder_fn]
pub fn with_value(mut self, value: T) -> Self {