cmfcmf / docusaurus-search-local

Offline / Local Search for Docusaurus v2. Try it live at:
https://cmfcmf.github.io/OpenWeatherMap-PHP-API/
MIT License
438 stars 67 forks source link

Customize search input placeholder #30

Closed cstffx closed 3 years ago

cstffx commented 3 years ago

For example:

customFields: {
        localSearch: {
            searchPlaceholder: "Buscar"
        },
},

https://github.com/cmfcmf/docusaurus-search-local/issues/29

cmfcmf commented 3 years ago

Thank you for this PR! I think I found a slightly better way that uses the new i18n system to achieve the same goal (see 68b32fd (#34) and #34).

olkeoguz commented 1 year ago

Hi, I see the issue is closed. But we need the placeholder to be a custom text. How can we achieve this ?