Cross Side Lookup read-only
Posted by Andy Weisse - Jul 13 ’15 at 02:20
Hi!
How can I set CrossSide Lookups read-only?
fd.field('name').readonly(true); <- If that doesn't work anymore since the update?
Best regards
Andy
-
rostislavModeratorMember for: 7 years 11 days
Hello,
It works in the new version the same way it was working before. Are you using the correct internal name? Often these problems arise because of confusion between the title of a field and it's internal name. The internal name is found in the Forms Designer (click on the control -> in the panel on the right hand side under 'Field' you'll see 'InternalName').
-
Andy WeisseMemberMember for: 6 years 11 months 15 days
Thanks for your answer! I used the internal names. The problem exists in all lookup fields.
All fields are readonly, only these not.
-
Andy WeisseMemberMember for: 6 years 11 months 15 days
In Firefox it works, but in Explorer not.
-
rostislavModeratorMember for: 7 years 11 days
[#3]:
What version of Internet Explorer are you using?
-
rostislavModeratorMember for: 7 years 11 days
[#3]:
Indeed this is a bug of the new version. We'll fix it in the nearest future. For now please use a workaround:
Plumsail.CSL.jQuery(fd.field("INTERNALNAME").control()._el().find(".plumsail-csl > input")).select2('enable', false);
Replace last false with true if you want to enable the control.
-
rostislavModeratorMember for: 7 years 11 days
[#3]:
We've fixed the bug, you can download the latest version from the website and get rid of the workaround.