I have an array of widgets containing DynamicForms and ListGrids.
I do a for( var widget in widgetsArray )
and my first "widget" is the field "class" with a value of "Array". I pass this to DynamicForm.isA() and it returns TRUE. It's a string, not a form.
----
While this is still true, my usage was wrong. widget is always a string. Now I'm calling DynamicForm.isA(widgetsArray[widget]) and the isA function returns false for the string "Array". I guess it's returning true for the string "class".
I do a for( var widget in widgetsArray )
and my first "widget" is the field "class" with a value of "Array". I pass this to DynamicForm.isA() and it returns TRUE. It's a string, not a form.
----
While this is still true, my usage was wrong. widget is always a string. Now I'm calling DynamicForm.isA(widgetsArray[widget]) and the isA function returns false for the string "Array". I guess it's returning true for the string "class".
Comment