Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set the search placeholder's text ? #522

Closed
Zekdar opened this issue Feb 28, 2014 · 2 comments
Closed

Is it possible to set the search placeholder's text ? #522

Zekdar opened this issue Feb 28, 2014 · 2 comments

Comments

@Zekdar
Copy link

Zekdar commented Feb 28, 2014

Hi,

I'd like to know if it's possible to set the placeholder's text inside search inputs ?

Thanks

@Mottie
Copy link
Owner

Mottie commented Mar 1, 2014

Hi @Zekdar!

You can set the filter placeholder using data-placeholder="Enter Something" on the header cell.

<th data-placeholder="Enter a first name" class="filter-match">First Name</th>

There are more examples in the filter widget demo markup.

I'll add a note to make this a bit more obvious in the documentation - it looks like it's only shown within the HTML as comments.

@Zekdar
Copy link
Author

Zekdar commented Mar 1, 2014

Thanks :) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants