<?xml version="1.0" encoding="UTF-8"?>
<templates>
    <!-- Inherits X2ManyField view in Odoo to add a search input field.-->
    <t t-name="One2ManySearchTemplate" t-inherit="web.X2ManyField"
       t-inherit-mode="primary" owl="1">
        <t t-if="displayControlPanelButtons" position="replace">
            <div>
                <div>
                    <input type="text" class="oe_search_value searchInput pl-3"
                           placeholder="🔍 Search..."
                           t-ref="search_keyword"
                           style="height:30px;"
                           t-on-keyup="onInputKeyUp"/>
                </div>
            </div>
        </t>
    </t>
</templates>
