Giter VIP home page Giter VIP logo

floatlabel.js's People

Contributors

slobo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

floatlabel.js's Issues

Password input types?

Currently the label is displayed as the typical password **********, is there a way of changing this?

Refresh bug in Firefox

This plugin is great! I'm getting a bug in Firefox (25.0.1) where after visiting the page with the form that is using FloatLabel.js, even if the form isn't touched or filled out, the next time the page is visited the <label> get's displayed twice - once as the floated label, and once as a value of the form field. Here is a screencast showing the issue: http://d.pr/v/1Wqe

Has anyone else experienced this isssue? Firefox bug?

Bug fix

HI!
I find your useful plugin and I adapted it to my situation.
I found this bug: when you add text in the field not typing (for example selecting old typing with autocomplete), it is not adding the class 'populated'. I used Chrome.
I fix it whit the following code:
input.on('change', function(){
if(input.val()!= ''){
element.addClass( settings.populatedClass );
}
})

Hoping you will like it :)

float label idea

if input empty

  1. use only placeholder information
    if input are fille up:
  2. like now label + input
  3. optional take label string from placeholder="label" and exclude automatically to label
  4. optional take label string from input data-label="label" and exclude automaticly to label element

Need to add "main" parameter to bower.json

It is important to wiredep package, which get this parameter to auto injecting in index.html
just one parameter:
"main": "./jquery.FloatLabel.js",
And you solve big problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.