diff options
| author | David Monjoie <dmo@odoo.com> | 2017-03-09 13:50:04 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 859f11c740b4ce1c5bd7fcf6b884cfd0d7f18ec5 (patch) | |
| tree | 3a9d80779c98992fa9adb26de90423712a3d7a56 /addons/web/static/src/js/core | |
| parent | e17dd719cfa68de569c4ebdc6ac51d9a76bab7a3 (diff) | |
[REF] web: extract _prepareInput from _renderEdit of InputField.
One might need all the preparation stuff that InputField does on
its input but might need something else as its tagName and handle
the input differently.
This commit gets the input preparation code out from the rendering
part of the widget so one can render a widget the way he likes and
call _prepareInput on his input.
This is used in monetary field which requires all the feature of
InputField but with the input actually being one level deeper in
the DOM than the standard InputField.
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions
