You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: form/bootstrap4.rst
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -97,10 +97,9 @@ Due to Bootstrap internals, the label is already rendered by ``form_widget()``.
97
97
File inputs
98
98
-----------
99
99
100
-
Files input are rendered using the Bootstrap "custom-file" class.
101
-
102
-
Due to Bootstrap internals, the rendered field does not display the selected filename.
103
-
To fix that missing display, you can use the "`bs-custom-file-input`_" plugin (vanilla javascript), as recommended by `Bootstrap Forms documentation`_.
100
+
File inputs are rendered using the Bootstrap "custom-file" class, which hides
101
+
the name of the selected file. To fix that, use the `bs-custom-file-input`_
102
+
JavaScript plugin, as recommended by `Bootstrap Forms documentation`_.
0 commit comments