Code Monkey home page Code Monkey logo

conditional-field's People

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

Watchers

 avatar  avatar  avatar  avatar

conditional-field's Issues

Ability to require via node

This is a great little package that I've been using on a few smaller projects. However – it would be even better with the ability to require the package directly via nodes require(), today the package doesn't expose itself properly to be required correctly.

Is the project still alive? (Planning on PRs for 2 new features...)

I have a few modifications I'm planning on submitting PRs for, but before I start work on these I wanted to check that the project is alive and PRs will be considered - my features are:

  • Allow conditional with multiple select inputs
    • If used with a select2 in multi mode, the value of the select must be an exact match with the visibility selector - so multiple doesn't match and fails to show the conditional field
  • Allow displaying multiple elements for the same visibility condition, something like:
    visibility: {
    'mothers': '.zappa',
    'mothers': '.beefheart',
    'spiders': '.bowie'
    }
    

Fix Security Issue, Reported via npm audit!

When I run npm audit I get this report. Please fix!

=== npm audit security report ===

┌─────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└─────────────────────────────────────────────┘
┌───────────────┬─────────────────┐
│ High │ Cross-Site Scripting (XSS) │
├───────────────┼─────────--───────┤
│ Package │ jquery │
├───────────────┼─────────────────┤
│ Patched in │ >=3.0.0 │
├───────────────┼─────────────────┤
│ Dependency of │ conditional-field │
├───────────────┼────────── ──────┤
│ Path │ conditional-field > jquery │
├───────────────┼─────────────────┤
│ More info │ https://npmjs.com/advisories/328
└───────────────┴─────────────────┘

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.