OlegTimkiv Posted April 11, 2019 Share Posted April 11, 2019 Добрый день! В зависимости от выбранного языка, изменяться свойство EmptyText. При присвоении значения свойству, ошибка "applyEmptyText is not a function". Link to comment Share on other sites More sharing options...
Sherzod Posted April 11, 2019 Share Posted April 11, 2019 4 minutes ago, OlegTimkiv said: В зависимости от выбранного языка, изменяться свойство EmptyText Добрый день, Пожалуйста, можете уточнить вопрос ..? Link to comment Share on other sites More sharing options...
stas Posted April 11, 2019 Share Posted April 11, 2019 Есть такое, встречается Решил созданием своей функции applyEmptyText 1 Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 15 hours ago, OlegTimkiv said: Добрый день! В зависимости от выбранного языка, изменяться свойство EmptyText. При присвоении значения свойству, ошибка "applyEmptyText is not a function". UniEdit1.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['placeholder', 'Test']); Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 EmptyText.7z Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 юбилей) Link to comment Share on other sites More sharing options...
Sherzod Posted April 12, 2019 Share Posted April 12, 2019 Здравствуйте, Link to comment Share on other sites More sharing options...
Sherzod Posted April 12, 2019 Share Posted April 12, 2019 Я не смог воспроизвести. Вы можете просто использовать EmptyText свойство: procedure TMainForm.UniButton1Click(Sender: TObject); begin //UniEdit1.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['placeholder', 'Test']); UniEdit1.EmptyText := 'Test' end; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now