Opened 12 years ago
Closed 12 years ago
#931 closed enhancement (fixed)
Editor / Codelist / Add new editor field type
Reported by: | fxp | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.10.0 RC0 |
Component: | General | Version: | |
Keywords: | Cc: |
Description (last modified by )
Currently, codelist editing is a simple combo box. Add capability to customize editor control per codelist type.
Configuration is made in <schema>/loc/<lang>/codelists.xml using editorMode attribute to the codelist element:
<codelist name="gmd:CI_DateTypeCode" editorMode="radio">
Type of controls are:
- - not set -: simple combo box (default)
- radio : radio button in one line
- radio_linebreak : radio button with line break
- radio_withdesc : radion button with line break and codelist entry description
- select : select box with size set to the number of items if lower than 7 entries. If element cardinality is greater than one, the selection list allows multiple selection (editor does not need to use (+) control to add more than one element).
Attachments (2)
Change History (4)
by , 12 years ago
Attachment: | editor_controls.png added |
---|
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Commit https://github.com/geonetwork/core-geonetwork/commit/6919376b898222780b221ec45e2dc3717e5c8ad5