Giter Club home page Giter Club logo

Comments (10)

oemolla avatar oemolla commented on June 19, 2024 1

I am currently using this method. I just wanted to let you know because component trying to create an option with empty data.

from baklava.

erbilnas avatar erbilnas commented on June 19, 2024

Have you attempted to provide a SelectOption? It will be displayed in that manner if there are no options available for the select.

from baklava.

oemolla avatar oemolla commented on June 19, 2024

SelectOption will be created once the search process concludes. Initially, there are no SelectOptions during the first render because the data is empty.

from baklava.

erbilnas avatar erbilnas commented on June 19, 2024

You should wait for the data fetching to complete before attempting to render, ensuring successful option rendering or you will attempt to re-render the select option

from baklava.

oemolla avatar oemolla commented on June 19, 2024

To start the data fetching process, I need to click bl-select and perform the action. The error happens right at this moment.

from baklava.

erbilnas avatar erbilnas commented on June 19, 2024

We are not currently supporting API fetching with search functionality, so you should handle the data manually. At the moment, providing a slot element to bl-select when fetching data can be worked around using the following approach:

<bl-select multiple search-bar search-bar-placeholder="Arama yapabilirsiniz">
    // custom slot 
</bl-select>

from baklava.

AykutSarac avatar AykutSarac commented on June 19, 2024

This appears to be a UI scenario, so we can seek assistance from @buseselvi in this matter. What should be shown to the user if no selection option has been added?

from baklava.

buseselvi avatar buseselvi commented on June 19, 2024

We shouldn't show the select popover / a line like in the image above if the popover is empty, we should show only the select input. Let's fix it 🚀

from baklava.

github-actions avatar github-actions commented on June 19, 2024

🎉 This issue has been resolved in version 3.0.0-beta.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

from baklava.

github-actions avatar github-actions commented on June 19, 2024

🎉 This issue has been resolved in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from baklava.

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.