From f36890d1cd47ba1706a1d81fc7d2a5468e5dc3f3 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Sun, 28 Apr 2019 17:47:51 +0200 Subject: [PATCH] Add truncated example of custom file browser --- site/content/docs/4.3/components/forms.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/site/content/docs/4.3/components/forms.md b/site/content/docs/4.3/components/forms.md index e48f5bc12d..4214f1660c 100644 --- a/site/content/docs/4.3/components/forms.md +++ b/site/content/docs/4.3/components/forms.md @@ -1303,4 +1303,17 @@ The file input is the most gnarly of the bunch and requires additional JavaScrip {{< /example >}} + +Longer placeholder text is truncated and an ellipsis is added when there's not enough space. + +{{< example >}} +
+ + +
+{{< /example >}} + We hide the default file `` via `opacity` and instead style the `