addyosmani / addyosmani/typeahead-country

Case sensitive ?

Open
#1 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
24
Forks
3
PR merge metrics
No merged PRs in 30d

Description

![image](https://f.cloud.github.com/assets/18315/2192270/90184bee-9863-11e3-8480-2c144baae20c.png)

![image](https://f.cloud.github.com/assets/18315/2192279/c8ef69d4-9863-11e3-8af4-c4d84a8803af.png)

I though I can fix it with some css and tired adding the below to `typeahead-input.html`

``` css
input {
text-transform: capitalize;
}
```

Strangely that makes the app not to respond to any input.

Only with capital letter it does respond with autocompletion. [i.e either shift+letter or caps on letter, not with text-transform]

**Update 0:**

TIL : `text-transform` does not work like I understood it! It's more of a cosmetic change.

> The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text _appear_ in all-uppercase or all-lowercase, or with each word capitalized.

![image](https://f.cloud.github.com/assets/18315/2192436/d15a9a0e-9867-11e3-9044-7a008e2a4053.png)

So the change must be somewhere in [L#112](https://github.com/addyosmani/typeahead-country/blob/gh-pages/src/typeahead-country.html#L122) or [L#62](https://github.com/addyosmani/typeahead-country/blob/gh-pages/app/bower_components/typeahead-input/typeahead-input.html#L62)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.