Giter Club home page Giter Club logo

Comments (6)

mossen avatar mossen commented on July 17, 2024

created #55

from vue-tailwind.

alfonsobries avatar alfonsobries commented on July 17, 2024

@mossen From where the value/options of the select come from? for example, is loaded through ajax? also, are you rendering the select on an SSR page? etc

I made a quick example where I hardcode a select with his options in two different routes and was unable to replicate the problem, I see that you create a PR but I want to understand the problem so I can create a regression test.

whatever helps me to understand/replicate the problem will be great, thanks!

from vue-tailwind.

mossen avatar mossen commented on July 17, 2024

When I dag into it, I found that on create the filteredflattenedOptions is set, but on re-render it is not and will be empty.
I had two different type of them, one getting options by calling an api and another one by a serving options props, both acting the same.
So I have these rich selects on a sidebar for two different pages, on first load they work fine but when I navigate through pages they do not show the selected text however they have options and value.

from vue-tailwind.

alfonsobries avatar alfonsobries commented on July 17, 2024

ok I think I understand the problem can ask you for a favor? can you pull these changes and see if it fixes the issue #56?

from vue-tailwind.

alfonsobries avatar alfonsobries commented on July 17, 2024

@mossen just merge that patch, update to v1.1.6

In case didn't work we can open the issue again

from vue-tailwind.

mossen avatar mossen commented on July 17, 2024

Hey, sorry for late response. I do not have access to the code I was using this anymore and cannot test it on that, hope this has fixed it. thanks.

from vue-tailwind.

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.