~vpzom/lotide

Add placeholder attribute to forms v1 SUPERSEDED

William Culhane: 1
 Add placeholder attribute to forms

 1 files changed, 2 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~vpzom/lotide/patches/11660/mbox | git am -3
Learn more about email & git

[PATCH] Add placeholder attribute to forms Export this patch

---
 src/components/mod.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/components/mod.rs b/src/components/mod.rs
index 9ef867b..44079b0 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -354,6 +354,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
                r#type
                name
                value
                placeholder={name}
                required={""}
            />
        }
@@ -363,6 +364,7 @@ pub fn MaybeFillInput<'a, M: GetIndex<&'a str, serde_json::Value>>(
                r#type
                name
                value
                placeholder={name}
            />
        }
    }
-- 
2.27.0