[ARVADOS-WORKBENCH2] updated: 1.2.0-592-g5fa0afb

Git user git at public.curoverse.com
Thu Oct 11 08:14:05 EDT 2018


Summary of changes:
 src/components/checkbox-field/checkbox-field.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  5fa0afb34e7204840850e696630c7b2c38a0f39d (commit)
      from  2820212ec0df02a85ae74ede8c52d3b5e936c6aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5fa0afb34e7204840850e696630c7b2c38a0f39d
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date:   Thu Oct 11 14:13:53 2018 +0200

    add disabled props to checkbox component
    
    Feature #13827
    
    Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>

diff --git a/src/components/checkbox-field/checkbox-field.tsx b/src/components/checkbox-field/checkbox-field.tsx
index b8f18e7..48737ee 100644
--- a/src/components/checkbox-field/checkbox-field.tsx
+++ b/src/components/checkbox-field/checkbox-field.tsx
@@ -11,7 +11,7 @@ type CssRules = 'checkboxField';
 
 const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     checkboxField: {
-        
+
     }
 });
 
@@ -21,6 +21,7 @@ export const CheckboxField = withStyles(styles)((props: WrappedFieldProps & With
             <Checkbox
                 checked={props.input.value}
                 onChange={props.input.onChange}
+                disabled={props.meta.submitting}
                 color="primary" />
         }
         label={props.label} 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list