File tree Expand file tree Collapse file tree 1 file changed +29
-23
lines changed
Expand file tree Collapse file tree 1 file changed +29
-23
lines changed Original file line number Diff line number Diff line change @@ -493,30 +493,36 @@ export class FormDateTimeInput extends React.Component {
493493 return (
494494 < div className = "rjf-datetime-field" >
495495 { this . props . label && < label > { this . props . label } </ label > }
496- < FormInput
497- label = 'Date'
498- type = 'date'
499- value = { this . state . date }
500- onChange = { this . handleDateChange }
501- />
502- < FormInput
503- label = 'Time'
504- type = 'text'
505- value = { this . state . hh + ':' + this . state . mm + ':' + this . state . ss + ' ' + this . state . ampm }
506- onFocus = { this . showTimePicker }
507- readOnly = { true }
508- inputRef = { this . timeInput }
509- />
510- < div ref = { this . timePickerContainer } >
511- { this . state . showTimePicker &&
512- < TimePicker
513- onChange = { this . handleTimeChange }
514- hh = { this . state . hh }
515- mm = { this . state . mm }
516- ss = { this . state . ss }
517- ampm = { this . state . ampm }
496+ < div className = "rjf-datetime-field-inner" >
497+ < div className = "rjf-datetime-field-date" >
498+ < FormInput
499+ label = 'Date'
500+ type = 'date'
501+ value = { this . state . date }
502+ onChange = { this . handleDateChange }
518503 />
519- }
504+ </ div >
505+ < div className = "rjf-datetime-field-time" >
506+ < FormInput
507+ label = 'Time'
508+ type = 'text'
509+ value = { this . state . hh + ':' + this . state . mm + ':' + this . state . ss + ' ' + this . state . ampm }
510+ onFocus = { this . showTimePicker }
511+ readOnly = { true }
512+ inputRef = { this . timeInput }
513+ />
514+ < div ref = { this . timePickerContainer } >
515+ { this . state . showTimePicker &&
516+ < TimePicker
517+ onChange = { this . handleTimeChange }
518+ hh = { this . state . hh }
519+ mm = { this . state . mm }
520+ ss = { this . state . ss }
521+ ampm = { this . state . ampm }
522+ />
523+ }
524+ </ div >
525+ </ div >
520526 </ div >
521527 </ div >
522528 ) ;
You can’t perform that action at this time.
0 commit comments