Code Monkey home page Code Monkey logo

Comments (4)

Tarpsvo avatar Tarpsvo commented on September 22, 2024

Hi! This is a Nova 3.8.0-3.8.2 issue. Please upgrade to Nova Multiselect version 1.9.2 (or downgrade Nova to 3.7.0).

from nova-multiselect-field.

DerekBuntin avatar DerekBuntin commented on September 22, 2024

Hi! This is a Nova 3.8.0-3.8.2 issue. Please upgrade to Nova Multiselect version 1.9.2 (or downgrade Nova to 3.7.0).

I currently use Nova 3.8.2 and Multiselect 1.9.2 and this issue still exists.

I've copied the same code you have on the description but when I go to the nova resource in admin the field doesn't load at all.

Multiselect ::make('Favourite football teams', 'football_teams') ->options([ 'liverpool' => 'Liverpool FC', 'tottenham' => 'Tottenham Hotspur', 'bvb' => 'Borussia Dortmund', 'bayern' => 'FC Bayern Munich', 'barcelona' => 'FC Barcelona', 'juventus' => 'Juventus FC', 'psg' => 'Paris Saint-Germain FC', ]) ->placeholder('Choose football teams') // Placeholder text ->max(4) // Maximum number of items the user can choose ->saveAsJSON() // Saves value as JSON if the database column is of JSON type ->optionsLimit(5) // How many items to display at once ->reorderable() // Allows reordering functionality ->singleSelect() // If you want a searchable single select field

from nova-multiselect-field.

Tarpsvo avatar Tarpsvo commented on September 22, 2024

Hi!

I released version 1.9.3 with more workarounds for the Nova's translations issue. Please try it out and let me know if it works for you now. Thanks!

from nova-multiselect-field.

DerekBuntin avatar DerekBuntin commented on September 22, 2024

Hi!

I released version 1.9.3 with more workarounds for the Nova's translations issue. Please try it out and let me know if it works for you now. Thanks!

Perfect it's working @Tarpsvo, great work!

from nova-multiselect-field.

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.