PDA

View Full Version : Form Rating Field Extension



digitalwm
15 Dec 2011, 6:42 AM
Hi,

I made another extension for the Ext JS form. More details can be found at http://dan.harabagiu.net/ext-js-rating-field-extension/

Any comments are welcomed.

Regards,
Dan.

ajaxvador
15 Dec 2011, 9:10 AM
very good job +1
a small suggestion


After clicking it, can't go back on the stars

digitalwm
15 Dec 2011, 9:27 AM
Well, what do you mean exactly? if you click on any other star it will change the value, but you lost the hide / show animation, because otherwise will create confusion.

ldonofrio
15 Dec 2011, 10:28 AM
i think that he mean that you can't clear the field (zero stars)

digitalwm
15 Dec 2011, 12:36 PM
Good idea, will expose a function for that, and also an icon to clear the field.

digitalwm
16 Dec 2011, 1:51 AM
ChangelogVersion 0.2

Added Field reset button
Added CSS class for reset button
Added reset function for the field
Minimum number of stars is 2
On creation default value is now 0, was null
Option to choose left / right for the reset button position