Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi select validation styles #217

Closed
Stewioie opened this issue Mar 26, 2025 · 4 comments
Closed

multi select validation styles #217

Stewioie opened this issue Mar 26, 2025 · 4 comments
Assignees

Comments

@Stewioie
Copy link

I need validation styles like other UI elements for c-multi-select.
Are you planning doing this? or any other suggestions to do this?

@xidedix
Copy link
Member

xidedix commented Mar 26, 2025

To get validation color visual feedback, use the valid prop, which can be set to true | false | undefined. Currently, there are no background icons.

<c-multi-select [valid]="false">
...
</c-multi-select>
<c-multi-select [valid]="true">
...
</c-multi-select>

@Stewioie
Copy link
Author

and the red "!" badge and form feedback?

@xidedix xidedix self-assigned this Mar 26, 2025
@xidedix
Copy link
Member

xidedix commented Mar 28, 2025

@Stewioie updated in version ~5.4.6, see the docs: https://coreui.io/angular/docs/forms/validation/#enhanced-example

Image
Image

@Stewioie
Copy link
Author

Stewioie commented Apr 4, 2025

Thanks for the fix 👍

@Stewioie Stewioie closed this as completed Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants