In previous Babylon version, when Input field had readonly=true it was shown as Outlined (white background)
and readonly=false, showed input as filled (input field gray background)
If was very good to use for view forms (outlined) and for editable forms (filled).
Now from Babylon 3.3.x, when readonly is set true or false, input button is allways the same. It depends of how it is set inputStyle value in guestpreferences.
Is there way to have filled inputStyle for editable input (readlonly=false)
and opposite to have inputStyle for readony input (readonly=true)
Thank you in advance
InputStyle: Outlined vs Filled, readonly=true/false
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Could you please try the following css code?
Best Regards,
Could you please try the following css code?
Code: Select all
body .ui-inputfield[readonly="readonly"] {
opacity: 0.6;
}
Github Profile: https://github.com/mertsincan
Thanks
I managed with similar style:
I managed with similar style:
Code: Select all
.ui-inputfield[readonly="readonly"] {
background-color: transparent !important;
}
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Thanks a lot for the update!
Best Regards,
Thanks a lot for the update!
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests