Skip to content

Keep search input placeholder simple #12

@lopezi

Description

@lopezi

Issue:

While browsing the docs I keep looking at the Search input placeholder else statement as a menu item.

placeholder="{{#if (eq @root.page.component.name " ROOT")}}Search{{else}} Search
        {{@root.page.component.title}}{{/if}}">

Example: at home page, the word Home on "Search Home" seems like a menu item one can click but incorrectly positioned.
Screen Shot 2023-07-09 at 22 56 12

Solution:

Keep it simple, from a quick test I could find that the search feature is not selective. Meaning that if I search for a query, the results are osmotic to any page and not exclusive to the one i'm searching from. Or, if you want to keep it, let's remove the spacing between words (removing the line break should do it).

placeholder="Search">

or

placeholder="{{#if (eq @root.page.component.name "ROOT")}}Search{{else}} Search {{@root.page.component.title}}{{/if}}">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions