Select: Fixed error in _decideFormat

The _decideFormat function should not be called for native select menus.

(cherry picked from commit 011c1122502b9872b030e96cd3add2435f023390)

Closes gh-7382
Fixes gh-7369