Results 1 to 2 of 2

Thread: Ext.form.Panel.setVisible(true) -> Exception

  1. #1
    Sencha User
    Join Date
    Jul 2016

    Default Ext.form.Panel.setVisible(true) -> Exception

    I am having an issue with a Component that I am attempting to integrate into Ext6 from Ext4.
    During the on "boxready" event, we run a visibility check. If you have the permissions, we set a component to be visible or not by calling "component.setVisible(access);" In this case, the access is true.

    The code fails further down the line when attempting this line:
            placeholder.ariaEl.dom.setAttribute('aria-hidden', false);
            placeholder.ariaEl.dom.setAttribute('aria-expanded', false);
    ext-all-rtl-debug.js Line: 144319

    The location of the failure in the code is in the attached document.

    I do not know if it is relevant, but there is a custom TPL being implemented on this particular component. Seems like there are a few pieces being added to the HTML.

    Any thoughts on this?
    Attached Images Attached Images

  2. #2
    Sencha User
    Join Date
    Apr 2013


    You'll have to either update your template to include Aria element or override doPlaceholderCollapse() method and add an "if" statement:
    PHP Code:
    if (placeholder.ariaEl.dom)

    Can you create a Sencha fiddle with the UX you are using?

Similar Threads

  1. Replies: 0
    Last Post: 27 Mar 2015, 11:54 AM
  2. Replies: 3
    Last Post: 12 Jun 2013, 7:24 AM
  3. [2.2] panel, setVisible true not working
    By maceido in forum Ext 2.x: Bugs
    Replies: 10
    Last Post: 14 Oct 2008, 11:40 PM
  4. Element.setVisible(true, true) keeps Invisible
    By franzisk in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 26 Jun 2007, 5:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts