Render dmc.Select values similar to how renderOptions is defined #635
Replies: 4 comments
-
|
Yes, I would consider this a feature request. This is not possible with the current Mantine Select. You can see this same example in the upstream Mantine docs To do this would require a custom Here is an example of the custom component https://mantine.dev/combobox/?e=SelectOptionComponent |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, @AnnMarieW! That is very helpful! Does DMC have a way to integrate custom components or would I need to have a separate forked project that I install after building the custom components? |
Beta Was this translation helpful? Give feedback.
-
|
This came up on our discord recently as well. I recommend starting with the dash-typescript-components-template Next you will have to set the Mantine as a peer dependency and not bundle it, else your new component will not recognize the Once there is a good example of making a custom dash mantine component, it would be great to include a tutorial in our docs. If you decide to make this component, could you share your experience or any tips back here? |
Beta Was this translation helpful? Give feedback.
-
|
@Dekermanjian |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am not sure if this is a feature request. I looked through the docs and the repo pretty extensively and could not find anything related to this topic.
I am using a custom
renderOptionwithdmc.Selectand would like when a value is selected from the drop down that the render of that value inside the select box is the same as it is in the dropdown.Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions