Options Widget Placeholder
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Provides an additional setting for the option field widgets, so that that the default "- none -" option can be customized, on a per-field and per-form-mode basis. This works for all entity types.
Use cases: fine tune the way select widgets are phrased in product attributes, event registration information, personal details, etc.
Depending on the field name (and the available options) you might rename the '-none-' option to "No Preference", "Choose a colour", etc.
So far this works with FieldAPI options widgets.
Site Builders
The module plays no part in whether a "_none" option is presented - it simply let's you customize the phrase where it is present. This depends on whether a field is required and/or multi-valued. Experiment until the form widget is right for you - you don't need this module's settings for every select field.
Notes:
This module does NOT force dashes to be included at the start and end, but you can include them yourself.
The default presentation in Radio Buttons is "N/A"
The default presentation in Select element is "- None -".
Developers
This works by changing the human-readable string which accompanies the '_none' option from FormAPI.
Development Status
Works well with Drupal-8.0.0-rc4.
I'll review this when Drupal 8 reaches a stable 8.0.0 release.
