Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Have a normal FormItem start as Hidden on setFields()

    Hi Isomorphic,

    is it possible to have a FormItem (TextItem, SelectItem, etc., explicitly not HiddenItem) to start as hidden at the time of the dynamicForm.setFields() call? Or do I have to call formItem.hide() after draw of the DynamicForm?

    I think I'm missing an API like FormItem.setHidden() which configures the start-state like e.g. FormItem.setRequired().

    I'm using current 5.0p.

    Best regards
    Blama
    Last edited by Blama; 11 May 2015, 04:43.

    #2
    FYI: Calling formItem.hide() before the call to dynamicForm.setFields() works for me. Is this allowed usage?

    Comment


      #3
      Something wrong with setVisible(false)?

      Comment


        #4
        Hi Isomorphic,

        no, exactly what I was looking for.

        Thank you
        Blama

        Comment

        Working...
        X