<?xml version="1.0" encoding="UTF-8" ?>

<templates xml:space="preserve">
    <t t-name="mail.EmojisTextField" t-inherit="web.TextField" t-inherit-mode="primary" owl="1">
        <xpath expr="//span[1]" position="attributes">
            <attribute name="t-ref">targetReadonlyElement</attribute>
        </xpath>
        <xpath expr="/*[last()]/*[last()]" position="after">
            <EmojisDropdown onEmojiClick="onEmojiClick" type="'text'"
                enable_emojis="props.enable_emojis" readonly="props.readonly"/>
        </xpath>
    </t>
</templates>
