bug(rtl): fix inputs on RTL locales

Fixed #1341