|
Rank: Newbie Groups: Member
Joined: 6/6/2017 Posts: 2
|
Hello, I am evaluating EO embedded webbrowser inside WPF application. I am having problem with disabled input field. It is not possible to mark or select a text from this field and therefore it is not possible to copy&paste text from input field. When I try to do the same in chrome browser (Version 58.0.3029.110 (64-bit)) it works as expected. Following is the source code of HTML page displayed inside embedded EO webbrowser:
Code: HTML/ASPX
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>TEST</title>
</head>
<body>
<input type="text" disabled="true" value="Test value"></input>
</body>
Best regards!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
This is an issue in the version of the Chromium browser engine we use (54.0.2840.99). Newer version of Chromium browser engine does not have this problem. It is not practical for us to back ports changes made in newer version of Chromium engine (since there are hundreds of changes being submitted daily). So this issue will be resolved when we sync to Chromium's source code next time.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/6/2017 Posts: 2
|
Thank you very much for reply. I fully understand that you do not want to back ports changes from chromium often. Do you have some estimate when you will synchronize to Chromium's source code? This issue is nearly no-go decision for our customer...
Thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi, Currently it is scheduled towards the end of the year (Q4). So it will not happen right away. One way you can workaround this issue is instead of setting disabled="true", you can set readyonly="true". Together with CSS style it should be able to achieve what you need:
Code: HTML/ASPX
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>TEST</title>
</head>
<body>
<style>
input[readonly] {
background: #ebebe4;
color: #545454;
border: 1px solid #a9a9a9;
padding: 2px;
}
</style>
<input type="text" readonly="true" value="Test value"></input>
</body>
The key is to use readonly to prevent user from modifying it, then use CSS to simulate the grayed out style. Thanks!
|
|