summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorSuraj Shukla <suh@odoo.com>2018-12-18 07:09:14 +0000
committerMartin Geubelle <mge@odoo.com>2019-04-09 12:42:40 +0000
commit13222fcd685472d038503a1a35386eba686b13be (patch)
treecb4eda3408774e6e58475d664f05bb49bebd1063 /addons/web/static/src/xml/base.xml
parentb993a2d9c824050e1c3cf566d4bf9d8eb75c3f41 (diff)
[IMP] web: better ModelFieldSelector layout
This commit improves the usability of ModelFieldSelector widget with following points: - add a placeholder on the input for searching fields - add more height to the same input for consistency - properly show 'X' sign within header Task 1916583
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index f9db8432275..f2b7c9653c6 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -749,8 +749,8 @@
<i class="fa fa-arrow-left o_field_selector_popover_option o_field_selector_prev_page" title="Previous" role="img" aria-label="Previous"/>
<div class="o_field_selector_title"/>
<i class="fa fa-times o_field_selector_popover_option o_field_selector_close" title="Close" role="img" aria-label="Close"/>
- <div t-if="widget.options.showSearchInput" class="o_field_selector_search">
- <input type="text" class="o_input"/>
+ <div t-if="widget.options.showSearchInput" class="o_field_selector_search mt-2">
+ <input type="text" placeholder='Search...' class="o_input"/>
</div>
</div>
<div class="o_field_selector_popover_body">