File tree 2 files changed +4
-1
lines changed
src/components/DateTimeEditor 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 8
8
- Add CI check to add changelog entry (Manuel Trezza) [ #1764 ] ( https://github.com/parse-community/parse-dashboard/pull/1764 )
9
9
- Add Parse Issue Bot (Manuel Trezza) [ #1766 ] ( https://github.com/parse-community/parse-dashboard/pull/1766 )
10
10
- 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 )
11
12
12
13
## Fixes
13
14
Original file line number Diff line number Diff line change @@ -98,13 +98,15 @@ export default class DateTimeEditor extends React.Component {
98
98
</ div >
99
99
) ;
100
100
}
101
-
101
+
102
102
return (
103
103
< div ref = 'editor' style = { { width : this . props . width } } className = { styles . editor } >
104
104
< input
105
+ autoFocus
105
106
type = 'text'
106
107
ref = 'input'
107
108
value = { this . state . text }
109
+ onFocus = { e => e . target . select ( ) }
108
110
onClick = { this . toggle . bind ( this ) }
109
111
onChange = { this . inputDate . bind ( this ) }
110
112
onBlur = { this . commitDate . bind ( this ) } />
You can’t perform that action at this time.
0 commit comments