PDA

View Full Version : FormPanel Dirty Marks



Ramsay
15 Sep 2010, 7:16 AM
With an EditorGridPanel, when you edit a field you get a "dirty" mark - a red triangle in the top corner to indicate the value has changed. If I'm using a FormPanel, how can I get the same effect?

httpdotcom
15 Sep 2010, 10:37 AM
You would have to add a listener to each field (change event) and then add a css rule to the field for the triangle.