Git Product home page Git Product logo

Comments (10)

veritascs avatar veritascs commented on August 11, 2024

Yea I just ran into this too. I'm going to change it locally for now to accept any value (https://github.com/fruitstudios/LinkIt/blob/master/linkit/fieldtypes/Linkit_LinkitFieldType.php#L608).

from linkit.

samhibberd avatar samhibberd commented on August 11, 2024

Ah, this is caused by the request to hide the dropdown when only one type of link is selected for a field.

I will adjust the validation rules so that the custom validation works with the core validation.

Thanks,

Sam

from linkit.

kaspar-allenbach avatar kaspar-allenbach commented on August 11, 2024

I have this as well. Do I need to hack the core plugin or is there a fix in sight?

from linkit.

veritascs avatar veritascs commented on August 11, 2024

Not sure...

from linkit.

johnwbaxter avatar johnwbaxter commented on August 11, 2024

I have this issue also, is there any news on a fix?

from linkit.

veritascs avatar veritascs commented on August 11, 2024

Not that I know of, use my "fix" I guess.

from linkit.

samhibberd avatar samhibberd commented on August 11, 2024

We have completely rewritten the plugin which is due to be released shortly, no major changes to functionality, just improvements to the code base and the way data is stored and accessed, and much improved validation too which will resolve this issue.

from linkit.

veritascs avatar veritascs commented on August 11, 2024

Awesome! Can't wait to update and test.

from linkit.

shealan avatar shealan commented on August 11, 2024

Hmm, Feb 2016 and this is still an issue. A Linkit field in my form wont submit without throwing an "Please select an entry" error even though the field is not required. Anyone found a solution? Taking the validation out totally isn't really a workable solution for my project.

from linkit.

samhibberd avatar samhibberd commented on August 11, 2024

Fixed in the latest release, please make sure you backup and test out pre launch!

from linkit.

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.