Code Monkey home page Code Monkey logo

Comments (11)

pixelmatrix avatar pixelmatrix commented on July 17, 2024

Good point. Might be a future thing.

from uniform.

BrianGilbert avatar BrianGilbert commented on July 17, 2024

+1 for this

from uniform.

pixelmatrix avatar pixelmatrix commented on July 17, 2024

I can easily just make it look like all the other inputs with 1 line in the script, but I'd prefer to take some time to do this right and provide an actual search style to this (complete with icon)

If you guys really just want it fast I can hack it in real quick.

from uniform.

dogzipp avatar dogzipp commented on July 17, 2024

I would prefer an actual field with the search icon, if not I can use type=text in the meantime

from uniform.

jak avatar jak commented on July 17, 2024

input type="number" would be a nice addition?

from uniform.

otobrglez avatar otobrglez commented on July 17, 2024

+1 for this ;)

from uniform.

fidian avatar fidian commented on July 17, 2024

The v1.8 branch styles search and number inputs. Would you check it out and let me know how well it works for you?

from uniform.

carstingaxion avatar carstingaxion commented on July 17, 2024

Hi Fidian, I was trying your 1.8 branch, to see the changes according to input type="search" fields, but it's not used by uniform. The input looks like this:

<input type="search" size="1" name="s" id="s-2" class="searchinput" value="" required>

And I'm calling it with just

$('input').uniform();

from uniform.

fidian avatar fidian commented on July 17, 2024

I checked out the repository (the develop branch on pixelmatrix's repo - just made it this morning) and looked at the demo page. I see this tag properly styled:

<input type="search" size="40"/>

I also pasted in your <input> html and that was styled correctly. Does the demo page work for you? Perhaps it is another issue.

from uniform.

carstingaxion avatar carstingaxion commented on July 17, 2024

I'm sorry that I made you trouble on this.
I tried the .js from the devevelopment branch, but forgot to overwrite the new css.

After looking 1000 times onto the I realized, that there is a class added, your uniform .search class.
Everything is fine.

from uniform.

fidian avatar fidian commented on July 17, 2024

Thanks for letting me know.

from uniform.

Related Issues (20)

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.