X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fform_controls%2Finput.jsx;h=d6056149e235064b217538ca88e11c0c088ea093;hp=1563f29126e92cc77add99ca3f48e124bb5d2415;hb=04997f0db765e39bd3a1fa76d40043eda9cdd326;hpb=2da8b7a246ba17396c5bc218a0b7f1685fb8d304 diff --git a/skyquake/framework/widgets/form_controls/input.jsx b/skyquake/framework/widgets/form_controls/input.jsx index 1563f2912..d6056149e 100644 --- a/skyquake/framework/widgets/form_controls/input.jsx +++ b/skyquake/framework/widgets/form_controls/input.jsx @@ -97,10 +97,12 @@ function buildRadioButtons(props) {
{ props.options.map((o,i) => { + let label = o.label || o; + let value = o.value || o; return ( ) })