baseweb icon indicating copy to clipboard operation
baseweb copied to clipboard

Doc should inform user that some options are not propagated

Open simPod opened this issue 3 years ago • 1 comments

This is based on https://github.com/uber/baseweb/discussions/5157

Current Behavior

In doc, there's often shown some example that uses overrides, e.g. Select with many options https://baseweb.design/components/select/#select-with-many-options. However, there's not shown how to preserver the component's behaviour nor how to propagate root options that influence the overridden component.

Expected Behavior

I've seen many developers to debug why the component does not behave like it should when props are specified. Just to later find out that override is used and therefore those props are thrown away.

Your Environment

Tech Version
Base UI v12
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

simPod avatar Sep 13 '22 08:09 simPod

Another example https://github.com/uber/baseweb/issues/3982

simPod avatar Sep 13 '22 08:09 simPod