( Occurs in versions 8.0 - 13.0 )
1. proceed with a database import until arriving on the Options tab of the Import
2. attempt to type the following format in the Date & Time input field
MM/dd/yyy HH:mm:ss
3. as you type, your text will be forced to
MM/dd/yy hh:mm:ss a
Consider preventing the autocompletion from forcing a format when character case changes from hh to HH
see attached GIF Animation.
Kin-Hong: Compare the behavior of the import GUI to the File -> Options -> General -> Appearance -> Date/Time Format. In File Options...Date/Time Format, I can enter any arbitrary value or choose from a drop down. In the Import GUI, it seems we're doing autocompletion. How about changing the behavior of Import GUI for date and date/time work work like File Options...Date/Time?
Let me know what you find out.
The autocomplete combobox has a case sensitive option that has never been used. By setting case sensitivity to true, it will allow user to enter 'H' without being matched by autocomplete logic. We should probably explore/use that option because autocomplete combobox is used widely in ADS.
The autocomplete combobox has a case sensitive option that has never been used. By setting case sensitivity to true, it will allow user to enter 'H' without being matched by autocomplete logic. We should probably explore/use that option because autocomplete combobox is used widely in ADS.
As we'll be releasing this fix as a patch, any change we make should be limited to import only.
But how does the File -> Options -> General -> Appearance -> Date/Time Format work? That does not use auto-complete?
As we'll be releasing this fix as a patch, any change we make should be limited to import only.
But how does the File -> Options -> General -> Appearance -> Date/Time Format work? That does not use auto-complete?
File -> Options -> General -> Appearance -> Date/Time Format does not use autocomplete.
The autocomplete-enabled CComxBox is based on AutoCompletionComboBox2 class. We can just fix ImportDialog class by adding the following lines:
dateFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
timeFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
dateTimeFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
File -> Options -> General -> Appearance -> Date/Time Format does not use autocomplete.
The autocomplete-enabled CComxBox is based on AutoCompletionComboBox2 class. We can just fix ImportDialog class by adding the following lines:
dateFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
timeFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
dateTimeFormatField.getAutoCompletion().getSearchable().setCaseSensitive(true);
Issue #8934 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 13.0.1-5 |
No time estimate |
Kin-Hong: Compare the behavior of the import GUI to the File -> Options -> General -> Appearance -> Date/Time Format. In File Options...Date/Time Format, I can enter any arbitrary value or choose from a drop down. In the Import GUI, it seems we're doing autocompletion. How about changing the behavior of Import GUI for date and date/time work work like File Options...Date/Time?
Let me know what you find out.