From: Laurence Maultsby Date: Tue, 9 May 2017 14:23:33 +0000 (-0400) Subject: Allow enable/disable on create. Enabled=>Status header X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=bc747990c2dc8bbdb262ad81da7b6741a4000677;p=osm%2FUI.git Allow enable/disable on create. Enabled=>Status header Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/framework/widgets/form_controls/input.jsx b/skyquake/framework/widgets/form_controls/input.jsx index d6056149e..9b5e685bb 100644 --- a/skyquake/framework/widgets/form_controls/input.jsx +++ b/skyquake/framework/widgets/form_controls/input.jsx @@ -74,6 +74,11 @@ export default class Input extends Component { if( props.readonly && props.type == "checkbox" && props.checked ) { displayedValue = } + + if( props.readonly && props.type == "radiogroup" && props.readonlydisplay ) { + displayedValue = props.readonlydisplay + } + let html = (