Nov 21, 2017, 6:30 PM
TagField ReadOnly=true does not work
I have to use the TagField in a read-only scenario, but this will not work. The tags are removeable with the "x".
Here's a Test which doesn't work: (Testes with 4.12 and the current 4.5)
Maybe there is a solution to supress the "x"? I found some hints at the Ext.js Forum that tag field readonly doesn't work in 2012 :-) Is this not fixed yet?
Here's a Test which doesn't work: (Testes with 4.12 and the current 4.5)
<html>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:TagField
runat="server"
HideTrigger="true"
Editable="false"
ReadOnly="true">
<Tags>
<ext:Tag Value="1" />
<ext:Tag Value="2" />
</Tags>
<Items>
<ext:Tag Value="1" Text="George" Icon="User" />
<ext:Tag Value="2" Text="Bob" Icon="UserAdd" />
</Items>
</ext:TagField>
</form>
</body>
</html>
Expected result: No "x" on the tags. User should not be able to remove one of the TagsMaybe there is a solution to supress the "x"? I found some hints at the Ext.js Forum that tag field readonly doesn't work in 2012 :-) Is this not fixed yet?