Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

ng-fab-forms with angular ui-select #86

Closed
yadimon opened this issue Jan 27, 2016 · 3 comments
Closed

ng-fab-forms with angular ui-select #86

yadimon opened this issue Jan 27, 2016 · 3 comments

Comments

@yadimon
Copy link

yadimon commented Jan 27, 2016

Is is possible to highlight the ui-select field?
here is the example : http://plnkr.co/edit/voXMv4xY1Fceazie0dJs?p=preview
i need the ui-select field to be highlighted (error: required) in case there is no input. Like usual input field highlighted by ng-fab-forms.

@johannesjo
Copy link
Owner

Hello @yadimon! Thanks for your question. The problem is that the required attribute (or any other validation directive) would need to be on the input field. I don't know if ui-select supports those in some kind of way. If it does not the best option I see for now would be to use either a decorator or another custom directive which passes those attributes to the input field.

And you could of course write an issue for the ui-select module.

@johannesjo
Copy link
Owner

I found this: angular-ui/ui-select#850

I hope that it is helpful to you.

@johannesjo
Copy link
Owner

Closing this due to inactivity. Probably angular-ui/ui-select#850 is the right place for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants