How can i force the multiselect to have at least one item checked
kevincaradant opened this issue · 3 comments
Hi
I didn't found in the doc something about this problem, or maybe it's me but is it possible to force at least one item to be checked in the single select ?
Thank you :)
I'd say "no", it's not possible. That is a feature I didn't thought about. I guess it makes sense if the directive lives in a form.
Until I implement this feature, you can manually check the size of output-model
to check if something was selected and return invalid
if it wasn't. http://ng-learn.org/2014/02/Writing_Custom_Validitions/
Hi, Thank you for your answer, Any news about this feature today ? :)
Nope, not today, sorry :(
El mar., 13 sept. 2016 a las 1:04, Kévin (notifications@github.com)
escribió:
Any news about this feature today ? :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#79 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFef-sjwNxbWsBdXpPI8NQYLBOFMRvHks5qpdqDgaJpZM4Hc5lX
.