Coder Social home page Coder Social logo

awesome-select's Introduction

Hi there ๐Ÿ‘‹

I'm a Full-Stack Software Developer working in Dhaka, Bangladesh.

NOW
  • โœจ Writing at Ashraful's Blog;
  • ๐Ÿ› Fixing bugs... ๐Ÿ˜„
  • ๐Ÿ‘ What about this?
BIO
  • ๐Ÿข I'm currently working at bKash Limited. as Assistant Lead Engineer
  • โš™๏ธ I use daily: Python, FastAPI, Django, Javascript, VueJS
  • ๐ŸŒ I'm mostly active within the Python Community
  • ๐ŸŒฑ Learning Rust
  • ๐Ÿ’ฌ Ping me about Python, Rust, System Designing, API Development,
  • ๐Ÿ“ซ Reach me: twitter.com/_ashraful
  • โšก๏ธ I am a motorbike lover, traveler

awesome-select's People

Contributors

iashraful avatar shafikshaon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

awesome-select's Issues

Make the app as vuejs package or plugin

Packaging

We must add the feature that anyone from anywhere can download/install and use as a traditional package. For example, we use various libraries with minimal configuration.

Example

import AwesomeSelect from 'awesome-select'

...
components: { AwesomeSelect }
...

Enabling option text and value customization

Option JSON can be key-value pair. We need to map value and label on <option value="some_value"> Display text </option> in dropdown.

The idea is user has control over which values go on option value and which value goes on option label.

See the following example:

[
    {
        'id': 123,
        'display': 'Option 1'
    },
    {
        'id': 456,
        'display': 'Option 2'
    }
]

If a user has this JSON array then the user can choose is id goes to as option value or label.

A proposed solution.

<AwesomeSelect
     option-value="id"
     option-text="display"
/>

It's like html select

<select>
    <option value="123"> Option 1</option>
    <option value="456"> Option 2</option>
</select>

Enabling user control to change placeholder

We should give use developer control to write his own placeholder. The default placeholder can be
Select.

A developer can enable/ disable placeholders also change placeholder text.

Update readme.md

Need to update readme.md.

The installation process and use.
List of usable properties etc

Render data from server.

For huge number of the dataset we should have an option to load data chunk by chunk. For example,
We have one million users in an API. We have to show all of them on the dropdown. But everyone know that not easy task. So, we are thinking to search from API and call api chunk by chunk. @shafikshaon Please add your thoughts on comment.

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.