Comments (4)
I just did an en.yml translation as a temp fix...
from bootstrap_form.
Hi @em0ral, I was wondering two things:
-
Which version of the gem are you using? We've got a fix for select labels, but it's only in the master branch at the moment.
-
If you were using master, did you try:
= f.select :asset_type,
options_for_select(["BES Cyber System", "Associated Protected Cyber Asset", "Associated Electronic and Physical Access Control and Monitoring Systems"]),
include_blank: true,
label: "My Label"
from bootstrap_form.
I'm going to close this for now, but feel free to reopen if you're still running into an issue.
from bootstrap_form.
Just a reminder, from my experience select is mostly broken in the current release branch. The issue OP encountered is solved in the master branch. Please do indicate that in your readme.md as it was a PITA to find!
from bootstrap_form.
Related Issues (20)
- Set required and aria on input when input is required HOT 1
- I can't Disable select field HOT 2
- What is the coorect way to make i18n translations for labels? HOT 2
- Tests May Not Be Good Enough
- Option to provide `is-invalid` class to labels along with fields HOT 1
- Range control has wrong class HOT 5
- Release version 5.2.0 HOT 8
- Need to include ActiveRecord::Reflection for custom form class with 5.2.0 HOT 1
- Rename the default layout to "vertical" ? HOT 2
- Can't disable number_field HOT 3
- DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated HOT 3
- [Rails 7.1] Association Validator Keyed by Association Name
- Can't edit classes on input elements. HOT 5
- Release new version (5.3.0) HOT 2
- new version 5.3.0 - undefined method `arity' for HOT 4
- V 5.3.1 - Using ruby's %w() array shortcut in bootstrap_form_for statement causes 'ActionView::Template::Error:' HOT 6
- Generate System Test Baseline via GitHub Actions
- Some Examples May Be Failing
- `collection_check_boxes` does not work with Rails 6.1 HOT 4
- Lazy load ActionText helpers HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap_form.