Datepicker: Check if typeof input === 'object' Fixed #6669 - Datepicker: _selectDate restores focus to non-object#337
Conversation
…er: _selectDate restores focus to non-object
|
I noticed there isn't already a test case for the issue on the trac - do you have one? @scottgonzalez was wondering if we even need this if statement at all. Thoughts? |
|
I don't have a test case, just saw it in trac and fixed it while I was in datepicker for #7124 and #6669 |
|
@marcneuwirth can you ammend this commit and just remove the if altogether... if the input is empty, |
|
Hmm if i remove the if it will be: I'm guessing that second statement should be removed as well? |
|
No, the |
|
The only thing missing right now is the test case... Got one yet? @scottgonzalez Do we know enough about this to just pull it? |
|
I think we're fine to just land it after manual testing. |
|
Thanks, landed in 5f0a2f0 |
Datepicker: Check if typeof input === 'object' Fixed #6669 - Datepicker: _selectDate restores focus to non-object