MSMK Posted August 3, 2022 Share Posted August 3, 2022 Как менять иконку в тригере у tunimEdit в runtime? и также заменят символы звездочками? Пробовал edPassword.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['type', 'password']);, не помогло Тестовый проект прилогаю test.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2022 Share Posted August 3, 2022 24 minutes ago, =GGG= said: и также заменят символы звездочками? Используйте свойство PasswordChar. Quote Link to comment Share on other sites More sharing options...
MSMK Posted August 3, 2022 Author Share Posted August 3, 2022 3 minutes ago, Sherzod said: Используйте свойство PasswordChar. хорошо. А как иконки менять в runtime? что то не меняются иконки) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 3, 2022 Share Posted August 3, 2022 7 minutes ago, =GGG= said: А как иконки менять в runtime? Обходное решение: JSInterface.JSCode(#1'.getTriggers().t1.setIconCls("x-fa fa-eye-slash");', edPassword.JSControl); JSInterface.JSCode(#1'.getTriggers().t1.setIconCls("x-fa fa-eye");', edPassword.JSControl); 1 Quote Link to comment Share on other sites More sharing options...
MSMK Posted August 3, 2022 Author Share Posted August 3, 2022 1 minute ago, Sherzod said: Обходное решение: JSInterface.JSCode(#1'.getTriggers().t1.setIconCls("x-fa fa-eye-slash");', edPassword.JSControl); JSInterface.JSCode(#1'.getTriggers().t1.setIconCls("x-fa fa-eye");', edPassword.JSControl); Спасибо! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.