Vote #74017
完了Add hinting to custom fields
0%
説明
I have developed a plugin called "redmine_custom_field_hints" which seems that it may lend itself to the core as a nice feature.
While there is the option to specify a default value for custom options, there is no way to provide a static "hint" which disappears when the user focuses the input and reappears if the input is empty when blurred.
This module only applies to issue custom fields; however, it can easily be expanded to all other custom field types. It will only work with "string", "text", and "date" input types.
This feature "push" was requested by "cforce":https://github.com/bpat1434/redmine_custom_field_hints/issues/1
Plugin Repository: https://github.com/bpat1434/redmine_custom_field_hints
journals
+1 for core feature
--------------------------------------------------------------------------------
Please take this feature into accoutn for next release, its a low hangig fruit and very usefull. Online helps/hints makes every system much more usable..
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
The attached patch adds a feature very similar to the plugin. Instead of
to show the custom field's description as a placeholder. Instead of "Hint Text" column added by the plugin, it uses the custom field's description as a placeholder text.
!{width: 340px; border: 1px solid grey;}.placeholder.png!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Split the patch into two parts:
* attachment:0001-Use-a-variable-to-reference-a-CustomField-object.patch: code cleanup
* attachment:0002-Show-a-custom-field-description-as-a-placeholder.patch: implements the feature
--------------------------------------------------------------------------------
Setting the target version to 5.0.0.
--------------------------------------------------------------------------------
Committed the patches.
Now the description of a custom field is shown as a placeholder.
!{width: 340px; border: 1px solid grey;}.placeholder.png!
--------------------------------------------------------------------------------
related_issues
relates,Closed,15699,Description for custom fields