Element: <oj-c-input-search>

CORE PACK

Oracle® JavaScript Extension Toolkit (JET)
21.0.0

G39658-01

DOM Interface: CInputSearchElement

Touch Information

Target Gesture Action
Non-phone input field Tap Opens suggestions when they are closed and suggestions are available. If suggestions are already open, leaves them open.
Phone search launcher Tap Opens the full-screen search dialog when suggestions are available.
Phone dialog back button Tap Closes the dialog without submitting new text and restores the prior field value. If the clear button was used, retains the cleared value instead.
Phone dialog input Tap Places cursor focus in the dialog input.
Phone dialog clear button Tap Clears the current search text without submitting it. The cleared value is retained if the dialog is then closed with the back button.
Phone dialog suggestion Tap Selects the suggestion, closes the dialog, and returns focus to the search launcher.

Keyboard Information

Target Key Action
Input field Tab In Sets focus to the input and initially highlights the text in the field. On desktop, suggestions do not open until the user enters text, clicks the field, or presses UpArrow or DownArrow.
Input field Enter Submits the current search text. An open suggestion list or autocomplete text does not select a suggestion by itself. If a suggestion is highlighted through keyboard navigation, Enter selects that suggestion and closes the suggestions.
Input field UpArrow or DownArrow Opens the suggestions when they are closed. When suggestions are open, moves the keyboard highlight to the previous or next suggestion while focus remains in the input. With autocomplete enabled, a prefix match can appear as an inline autocomplete preview, while a desktop partial match can appear as floating autocomplete text (for example, D – Edge). These autocomplete displays do not by themselves establish a keyboard highlight; UpArrow or DownArrow does. In collection mode on desktop, the first press opens the collection popup and the next press moves focus into the collection.
Input field Esc Closes the suggestions when they are open. If suggestions are closed, does nothing.
Input field with inline autocomplete preview (prefix match) LeftArrow or RightArrow Accepts the inline autocomplete preview. LeftArrow places the caret at the start of the suggested suffix, and RightArrow places the caret at the end.
Input field with inline autocomplete preview (prefix match) Backspace or Delete Dismisses the inline autocomplete preview and keeps the user-entered text.
Input field Tab Moves focus to the next tabbable element. If suggestions are open, closes them without submitting a new search. Tabbing can blur the field, which may update value and rawValue to the current displayed value, including an autocomplete preview, but it does not fire ojValueAction.
Collection Shift + Tab When focus is on the first tabbable item, closes the collection, restores the typed search text, and moves focus to the previous tabbable page element. Otherwise, follows the collection's own focus order.