addyosmani / addyosmani/typeahead-country

Case sensitive ?

Abierto
#1 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
24
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.