FormPanel.getFields() doesn't exists... imo it's strange

  • I thinks it's strange that doesn't exists a FormPanel method that returns all the fields within the form... I only found the items properties but it returns ALL the components directly child of the form...

    In my situation I have a FormPanel with 2 tabs and I can't iterate loop fields... The only solutions I found is to user findBy Container method but isn't a elegant solution...


  • It was a typo in the form class comments. Missing an "@property" tag to make the doc generator see it!


  • The FormPanel owns the form, it is not itself the form.

    http://dev.extjs.com/deploy/dev/docs/?class=Ext.form.FormPanel&member=getForm


  • great... thank you...
    I've always tought that getForm returns the DOM element...


    but BasicForm doesn't expose a functionality for having all the Ext.form.Field object... I found only the findField method...


  • The docs need fixing.

    A BasicForm has an items propertyy which is a MixedCollection of teh Fields it owns.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about FormPanel.getFields() doesn't exists... imo it's strange , Please add it free.