Git Product home page Git Product logo

fancy-fields's People

Contributors

giladk avatar gwagroves avatar ulyanich-v avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

fancy-fields's Issues

tabindex for select

Hi

Is there a way to set the tab index for dropdown select objects? setting the tabindex on the element does add it to the select object but when fancy fields wraps the divs, the select does become hidden.

please advice if there is a way.

thanks

hide and show div not working for select drop down

if we have step wise and step 1 has one drop down and step 2 has another drop down then from step 1 to step 2 move than on step 2 select drop not working

if we again call
fancyfield function it works but it again append same drop down again.

$(elements).fancyfields();

So any one please help me to resolve this issue.

Thanks

Question

I would love to use fancy-fields to customize a select box on my site, but the select tag already has an ID in order to function as follows...
select name="page_id" id="page_id"
When you get the opportunity, please let me know how can I assign the fancy-fields ID to the select tag as well?

Thank you,

Billy

Validation before apply selection in the dropdown

Hi,
I am using fancy fields, but i am missing an important option for my project.
I need the plugin to have as an optional callback function for validation before the selection happens.

Example:
the dropdown has the following values : 1,2,3
current value = 1
User selects value = 2
Here I would like the plugin to call the function that i supply
shouldApplySelection(val){
if (vall == something){
return true; //this means that the plugin will go ahead and change the value to 2
} else {
return false; //plugin will not change the selection and will close the menu without changing the value
}

I tried implementing this myself, however I found out that the way that setVal() is implemented is to call the .click() event (and not the other way around as it should be - .click should call .setVal() )

other than that, great job!
Thanks,
Ilan

variations

is there a way to make it so this only effects certain form elements?

autocomplete callback?

Greetings,

I am wondering how you would handle updating the fancyfields select menu after someone has entered data into the form via browser autocomplete/autofill?

Thank you!

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.