View Full Version : How to use a button as a form field like in ExtJS 3.4?

28 Jun 2016, 10:54 AM
In ExtJS 3.4, I could use a button as a form input like this:

I can do the same thing in ExtJS4+ but without a label:

Is there a better way to achieve this in ExtJS4+ than with something like this:

Gary Schlosberg
28 Jun 2016, 2:08 PM
I don't see a fieldLabel config for a button starting in 4.x, so I think the behavior is by design. Looks like you may have found the best possible workaround.