Comments (1)
In terms of what users will see, required component only shows an asterisk against the label.
![Screenshot 2024-04-14 at 11 36 13 AM](https://private-user-images.githubusercontent.com/91216500/322250959-efb97a1c-cdff-4ee4-b246-be8d830b5b09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY5ODI4NTksIm5iZiI6MTcxNjk4MjU1OSwicGF0aCI6Ii85MTIxNjUwMC8zMjIyNTA5NTktZWZiOTdhMWMtY2RmZi00ZWU0LWIyNDYtYmU4ZDgzMGI1YjA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI5VDExMzU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjZGEzOTUxOTQ0OWI0ODA2OThjODUzNTE5NTg0YjRhM2IyM2QwZjcxNDFkZTllYTcwOTlmMDdhOGI1ZGM0M2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gSnF4ZVln25D0GUBBX-6n7eFoBfrvARSg2zxy7aIvEQ)
If you don't want to show label in your select, you can use the 'error' attribute with a custom client side callback.
Here's one example (though the callback is server side here):
https://www.dash-mantine-components.com/components/multiselect#invalid-state-and-error
![Screenshot 2024-04-14 at 11 37 51 AM](https://private-user-images.githubusercontent.com/91216500/322251027-a2c7ce09-34c2-41f3-97e7-05c16978b2a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY5ODI4NTksIm5iZiI6MTcxNjk4MjU1OSwicGF0aCI6Ii85MTIxNjUwMC8zMjIyNTEwMjctYTJjN2NlMDktMzRjMi00MWYzLTk3ZTctMDVjMTY5NzhiMmE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI5VDExMzU1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2YTQ2NzgwNWI0OTNmNjNmZjdhYjg3MTljN2UyNDc3ZDQ4MzcwMTcyMjVlZWYyMzhkZTIxNjYwMDY0MDMwNWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LGOIX5TD8GWRwG1GRLwLg7kWIktiWJfKM-myrGH_EHI)
from dash-mantine-components.
Related Issues (20)
- Is there a component that adds row navigation to datatable HOT 2
- DateInput + DatePicker with HUGE arrow ^v buttons (0.14.2) HOT 6
- Add MonthPickerInput & YearPickerInput
- dmc.Image no longer supports base64 encoded images
- AppShellHeader and AppShellMain overlaping
- Updating Notifications not working HOT 1
- The dmc.ColorPicker doesn't show the color when it's value is updated
- Multiselect doesn't update pillsList dynamically
- Add support for advanced dayjs formats HOT 3
- No module named 'dash_mantine_components._imports_' HOT 4
- r.useId is not a function HOT 1
- Free input on DateInput component does not consider locale
- Image components doesn't render data URIs HOT 2
- Custom color example in the document incorrect HOT 2
- Grouped Select not showing items. HOT 2
- Reducing package size by trimming metadata.json
- Select component on Modal windows HOT 2
- Migration guide missing renaming of Notification "disallowClose" option to "withCloseButton"
- Poor choice of font for code in docs HOT 2
- dmc.Accordion styles for active item do not work in 0.14 HOT 1
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 dash-mantine-components.