Closed (fixed)
Project:
BS Base
Version:
8.x-1.x-dev
Component:
BS Bootstrap
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Dec 2019 at 14:48 UTC
Updated:
20 Dec 2019 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pivica commentedHere is a patch.
We decided to disable placeholder label text by default, because we already have main field label and 'Choose file...' and 'Browse' labels have the same meaning.
You can still enable showing of 'Choose file...' placeholder. Just define template variable `custom_file_label_show`. For more details check the documentation on https://www.drupal.org/docs/8/themes/bs-base/additional-features/custom-....
Comment #3
pivica commentedInstead of a boolean flag, it's better to just have `custom_file_label` variable that you can define in preprocessor if needed. Removed some white spaces in a template.
Comment #5
pivica commentedFixed white spaces problems. Committed.