diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2017-07-26 11:17:08 +0200 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2017-07-27 13:58:51 +0200 |
| commit | 17a9e455669397c6be84ecc28a86f4196576badc (patch) | |
| tree | cceb4c6492f66861c1be8f2643dff7d6ecdf6f4c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | a71f22370217d2da6ad13bd29c2fa412a40ebe4c (diff) | |
[FIX] web_tour: tour_manager: choose option for select element
Before this commit, it was only possible to set an option with
his value.
For example:
<select name="test">
<option value="1">One</option>
<option value="2">Two</option>
</select>
The only way to set the first option was to do the following:
run: "text 1"
With this commit, we can now select the first option with his text value:
run "test One"
We need this because in 'main_flow_tour', some values are generated ids.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
