Tags filter field - how to add custom "placeholder"?

by FFrewin   Last Updated February 01, 2018 09:10 AM

I have added a tags filter in my component's list with multiple enabled.

<field
    name="tag"
    type="tag"
    label="-Select a Tag-"
    description="Filter by Tags"
    multiple="true"
    class="multipleTags"
    mode="nested"
    onchange="this.form.submit();">
</field>

It renders and work fine, with the only exception that in the field's input it displays a generic text "Type or Select some options". So, it isn't obvious at first sight about what this filter is about.

Tags Filter

How can I replace that text to something like "Select a Tag"?



Related Questions




Showon does not work in frontend

Updated March 28, 2016 08:04 AM

How do I save Repeatable data in my component model?

Updated October 25, 2016 09:04 AM

Radio form field - can value be a string?

Updated May 16, 2017 15:10 PM