@@ -28,6 +28,9 @@ const subjectOptions: Option[] = [
2828 { value : 'trans_femoral_amputation_right' , label : 'Trans-femoral Amputation - Right' } ,
2929 { value : 'trans_tibial_amputation_left' , label : 'Trans-tibial Amputation - Left' } ,
3030 { value : 'trans_tibial_amputation_right' , label : 'Trans-tibial Amputation - Right' } ,
31+ { value : 'osteoarthritis' , label : 'Osteoarthritis' } ,
32+ { value : 'knee_osteoarthritis_right' , label : 'Knee Osteoarthritis - Right' } ,
33+ { value : 'knee_osteoarthritis_left' , label : 'Knee Osteoarthritis - Left' } ,
3134] ;
3235
3336const trialOptions : Option [ ] = [
@@ -54,6 +57,14 @@ const trialOptions: Option[] = [
5457 { value : 'jump' , label : 'Jump' } ,
5558 { value : 'calibration' , label : 'Calibration' } ,
5659 { value : 'dance' , label : 'Dance' } ,
60+ { value : 'rigid_brace_left_ankle' , label : 'Brace (Rigid) - Left Ankle' } ,
61+ { value : 'rigid_brace_right_ankle' , label : 'Brace (Rigid) - Right Ankle' } ,
62+ { value : 'rigid_brace_left_knee' , label : 'Brace (Rigid) - Left Knee' } ,
63+ { value : 'rigid_brace_right_knee' , label : 'Brace (Rigid) - Right Knee' } ,
64+ { value : 'rigid_brace_left_hip' , label : 'Brace (Rigid) - Left Hip' } ,
65+ { value : 'rigid_brace_right_hip' , label : 'Brace (Rigid) - Right Hip' } ,
66+ { value : 'pneumatic_jets_shoes' , label : 'Pneumatic Jets (Shoes)' } ,
67+ { value : 'arms_crossed' , label : 'Arms Crossed' } ,
5768] ;
5869
5970const MultiValueLabel = ( props : MultiValueGenericProps < Option > ) => {
@@ -83,14 +94,14 @@ const MultiValueLabel = (props: MultiValueGenericProps<Option>) => {
8394 if ( props . data . integer ) {
8495 rawValue = Math . round ( rawValue ) ;
8596 }
86- if ( props . data . min != null && rawValue < props . data . min ) {
97+ if ( ( props . data . min != null ) && rawValue < props . data . min ) {
8798 rawValue = props . data . min ;
8899 }
89- if ( props . data . max != null && rawValue > props . data . max ) {
100+ if ( ( props . data . max != null ) && rawValue > props . data . max ) {
90101 rawValue = props . data . max ;
91102 }
92103 setValue ( rawValue ) ;
93- onChangeOption ( props . data , value ) ;
104+ onChangeOption ( props . data , rawValue ) ;
94105 } } />
95106 { props . data . addedNumberUnits }
96107 </ span > ;
0 commit comments