PDA

View Full Version : Ext.ux.form.ToggleTextField



rainydays
20 Jul 2008, 4:02 PM
Hi!

This is a very simple extension, but I remember seeing a request for it a couple of months ago so I thought I'd share it. Hope it will be useful to someone.

It's a regular textfield with a checkbox on the right side that lets you enable/disable the field. Or you can change the trigger function to do whatever you want.

moegal
2 Jun 2009, 8:53 AM
nice little extension. Any way to make it a number field too.

Also, would be nice to have a clear on disabled property in the config. Like clearOnDisable: true, with a default to false.

Thanks, Marty