scanning: Use hidden attribute to hide settings option
When the first option in the select is hidden, even though the option won't be shown in the dropdown list, its text still appears as the selected option in the dropdown. Moving the |noScannersText| option to after the list of scanners allows the first scanner to replace |noScannersText| as the selected value when loaded. Bug: 1059779 Change-Id: Ic06363e55d082fe758a6ae04ddbe4e7206841f86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622894 Commit-Queue: Gavin Williams <gavinwill@chromium.org> Reviewed-by:Jesse Schettler <jschettler@chromium.org> Cr-Commit-Position: refs/heads/master@{#842614}
Showing
Please register or sign in to comment