[BUGFIX] Form NumberFields ignore typed values in wizard 11/42911/2
authorSebastian Wagner <sebastian.wagner@tritum.de>
Thu, 27 Aug 2015 19:37:29 +0000 (21:37 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 28 Aug 2015 15:35:11 +0000 (17:35 +0200)
commite3bdabe7272c45f775f177353bca887f45d15c73
treec3283ccf483ac6372e506f0f5446a172bfc7d885
parent3117ea917331e82a628b547d61702bcb2f603093
[BUGFIX] Form NumberFields ignore typed values in wizard

"Spinner fields" in EXT:form are an old remake of the HTML5
number in ExtJS. Directly typing a value into that spinner
field is not stored - only by clicking the accordant buttons
to "spinup" or "spindown" the value.

A listener for the blur event handles this task and now allows
to store typed numbers as well. The event handler utilizes the
blur event to update the value - thus, the disabled onBlur
handling has to be disabled as well.
Using the change event did not work out due to ExtJS constraints.

Resolves: #69024
Releases: master, 6.2
Change-Id: I13264019c3edbfb8aa7051a4ae2e3ce91dd5c7f6
Reviewed-on: http://review.typo3.org/42895
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-on: http://review.typo3.org/42911
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Ux/Ext.ux.form.spinnerfield.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Attributes.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Rule.js