board logo
WUICTeam
  • WUICTeam
  • 100% (Exalted)
  • Newbie Topic Starter
9 days ago
Problem
In the dashboard designer I have a SPLITTER with 2 areas (or a TABLE with 3 rows) that already contain widgets. To go from 3 to 4 I select the number in the rows / areas / items field of the properties panel, press backspace and type 4. The result is a component with 4 brand new, empty rows/areas: everything that was inside is gone.

Steps to reproduce
  • Add a TABLE, SPLITTER or ACCORDION to a dashboard and put some widgets inside.
  • In the properties panel clear the rows (or cols, areas, items) field with backspace.
  • Type the new number.


Expected
Only the missing rows/areas are added (or the extra ones removed); the existing ones keep their content.

Answer
Confirmed, it was a bug. While the field was empty the designer read the value as 0 and removed every row/area together with its content; the next digit then rebuilt them from scratch.
Fixed in 1.8.2: an empty field, a non-integer value or a value lower than 1 is now ignored, so nothing is removed while you are typing, and going from 3 to 4 just adds one row/area.
Workaround for earlier versions: do not clear the field, use the arrows of the number field or select the digit and type the new value over it. If content has already been lost, use Undo (Ctrl+Z) or reload the dashboard without saving.