Giter VIP home page Giter VIP logo

react-async-select's Issues

Paging controls send request to server twice

Background:
Paging controls "Next" and "Previous" send two requests to the server, both with different offsets.

Task:
Reduce the number of requests to server to one, if ReactTable component's internal logic allows it.

Custom change handler not working with react-select v2

Background:
The react-select component's behaviour should be customizeable by the caller as it was before react-select v2 upgrade. Examples of different behavior:

  • In the usual case, when a value is selected, it should be displayed on the react-select component.
  • In approval assignee selectors, the selected value is added to a list below the select component. Here, the react-select should not display a selected value after the selection has been made.

Task:

  • Fix the component so that customized behavior works as it did before react-select v2 upgrade.

Improve localization possibilities

Currently there are hardcoded strings and object property names shown on the UI. Improve localization by:

  • processing all UI texts with i18n object's getMessage function
  • providing a method for transforming the translation keys defined within the component

Custom sidepanel for search modal

Background:
To improve the advanced search, it would be beneficial to provide additional information to the user. For this purpose, provide a method to display a custom component as a side panel for the advanced search.

Tasks:

  • Modify SearchModal to render a custom component as a sidepanel
  • Add a demo with a custom sidepanel component
  • Update README

Dynamic results for the dropdown component

Related issue in invoice: https://github.com/OpusCapita/invoice/issues/1798

Background:
The customized behavior of the dropdown component for Approval Assignees requires that the result set for any input will be modified by what has been selected before – for one input there may be different result sets. Therefore, we should be able to disable result set caching and similar features.

Task:

  • Investigate if react-select v2 caches result sets by default.
  • Ensure that result sets may be defined only by the fetcher function and any caching methods can be turned off.

Empty lines shown in the ReactTable

Background:
When the user has selected a large number of items to be shown in the ReactTable, empty lines are shown if there are not enough results to fill the table.

Task:

  • remove empty lines, showing less than selected number of rows if there are not enough results.

Example code seems completely different.

Example code import the {Dropdown} from react-component-example, whereas it instructed to install a different package which, when used, gives error that dropdown isnt exported from the file.

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.