[Vtigercrm-developers] Vtiger 6 - select disabled state

Prasad prasad at vtiger.com
Tue Dec 3 10:11:12 GMT 2013


*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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20131203/0c60df4d/attachment.html>


More information about the vtigercrm-developers mailing list