addyosmani / addyosmani/typeahead-country

Case sensitive ?

Aperta
#1 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
24
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![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)?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.