[Vtigercrm-developers] Vtiger 6 - select disabled state

Stencel, Maciej m.stencel at opensaas.pl
Fri Dec 6 15:04:37 GMT 2013


Thank You!

It works properly.

That trigger was helpfull too in manually preselecting value in select.


2013/12/3 Prasad <prasad at vtiger.com>

> *For Chosen*
> jQuery(base_element_name).prop('disabled', true).trigger('liszt:updated');
>
> *For Select 2*
> jQuery(base_element_name).select2('disable', true);
>
> Regards,
> Prasad
>
>
> *Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall>
>  *I* Blog <https://blogs.vtiger.com/>* I* Wiki<http://wiki.vtiger.com/index.php/Main_Page>
>  *I *Forums  <https://discussions.vtiger.com>*I* Website<https://www.vtiger.com/>
>
>
> On Tue, Dec 3, 2013 at 1:14 PM, Janicki, Michał <m.janicki at opensaas.pl>wrote:
>
>> Hi,
>>
>> I need to turn vtiger 6 select field to disabled state.
>>
>> I can see that vtiger is using select2 plugin. I have read their
>> documentation but I doesn't help me.
>> Official commands like jQuery('xxx').select2('enable', false) isn't
>> working.
>>
>> For example I'm trying to disable select field "Type" in "Organisations
>> module.
>>
>> My question is how can I disable it?
>>
>> *Z poważaniem / Best regards*
>>
>>  *Michał Janicki*
>> *Tel: +48 884-999-531*
>>
>> *m.janicki at opensaas.pl <m.janicki at opensaas.pl> www.OpenSaaS.pl
>> <http://www.opensaas.pl/>*
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131206/b6ee4319/attachment.html>


More information about the vtigercrm-developers mailing list