File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/components/DateTimeEditor Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 88- Add CI check to add changelog entry (Manuel Trezza) [ #1764 ] ( https://github.com/parse-community/parse-dashboard/pull/1764 )
99- Add Parse Issue Bot (Manuel Trezza) [ #1766 ] ( https://github.com/parse-community/parse-dashboard/pull/1766 )
1010- Refactor: uniform issue templates across repos (Manuel Trezza) [ #1767 ] ( https://github.com/parse-community/parse-dashboard/pull/1767 )
11+ - fix: date cell value not selected on double clicks (fn-faisal) [ #1730 ] ( https://github.com/parse-community/parse-dashboard/pull/1730 )
1112
1213## Fixes
1314
Original file line number Diff line number Diff line change @@ -98,13 +98,15 @@ export default class DateTimeEditor extends React.Component {
9898 </ div >
9999 ) ;
100100 }
101-
101+
102102 return (
103103 < div ref = 'editor' style = { { width : this . props . width } } className = { styles . editor } >
104104 < input
105+ autoFocus
105106 type = 'text'
106107 ref = 'input'
107108 value = { this . state . text }
109+ onFocus = { e => e . target . select ( ) }
108110 onClick = { this . toggle . bind ( this ) }
109111 onChange = { this . inputDate . bind ( this ) }
110112 onBlur = { this . commitDate . bind ( this ) } />
You can’t perform that action at this time.
0 commit comments