Comments (6)
Btw, this refactor has lead to breaking changes in multiple Strapi plugins. Very frustrating to debug also, the documentation is very light on detail.
from design-system.
@julesrenaud Can you please describe the issues you are facing with reproducible steps? It would be best if you can open separate issues for each problem - otherwise it is almost impossible for us to fix these problems.
from design-system.
@gu-stav what I've stumbled upon thus far is that the clear button used to be present and usable automatically, now the onClear attribute needs to be specified. Also, it's now impossible to have a list that has autocomplete === none. If a value is selected, upon opening the combobox, only the selected value is shown as an option. Autocomplete should be a usable option, because in the past it was possible to manage the shown options programmatically.
from design-system.
@gu-stav I think a very simple fix would be to add a autocomplete
prop to be able to use 'none', as outlined as an example here: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none/
from design-system.
@gu-stav I think a very simple fix would be to add a
autocomplete
prop to be able to use 'none', as outlined as an example here: w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-none
it's not a simple fix because i believe if you set autocomplete === "none"
then you need to start visually focussing items in the list, however, this addition has been added in #985 and is hopefully going to be released in the next two weeks.
I've stumbled upon thus far is that the clear button used to be present and usable automatically, now the onClear attribute needs to be specified
You're welcome to submit a PR to fix this 👍🏼
from design-system.
@joshuaellis thank you for your response. I don't know how the Combobox component was designed/working before, all I know is that custom field plugins that were based on it stopped working after a minor upgrade of Strapi, which is obviously a problem. I'm sure y'all are making the design system better through these upgrades, just a heads up though that these components are used externally and that breaking changes without notice in minor upgrades should be avoided.
Personally I'll just adapt my plugins to the changes that were made. I'm using a fork in production for the autocomplete === none feature in the meantime.
from design-system.
Related Issues (20)
- [bug]: AccordionToggle being displayed being a modal HOT 1
- [bug]: Dialog overflows unscrollable
- [bug]: Disabled focus state of Select and Combobox is inconsistent HOT 1
- [feat]: Consistent loading state for `Select` and `Combobox`
- [bug]: `disabled` prop is inconsistent across `Button` and `IconButton`
- [feat]: Wish the SubNav component can be collapsed HOT 1
- [bug]: Components using `as` prop do not have said prop's components inferred HOT 1
- When developing a strapi plugin, is there a reason why I must use the strapi design-system? HOT 1
- [bug]: `v2/SimpleMenu` with Icon does not Show Icon
- [bug]: When there is no scroll bar on the page, the floating position of Tooltip will shift
- [bug]: Cannot use vitest as UT library
- [bug]: Tooltip inside a Popover shown in a wrong position when onFocus
- [bug]: The input element does not respond to keyboard entry
- [bug]: error TS7016: Could not find a declaration file for module '@strapi/design-system'. HOT 2
- [bug]: Link v2 has no hover color/effect HOT 6
- [bug]: The onClear callback of SubNavHeader was not triggered
- [bug]: Change the NavLink component to support other values for the badgeContent attribute other than strings HOT 1
- [bug]: onReachEnd is not triggered in SimpleMenu component
- [bug]: ComboBox doesn't show `noOptionsMessage` when there are no options to display
- Long attribute names display outside the edge of the container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system.