lookup-selector ignores required attribute
Issue #109
closed
I'll leave it to you to modify lookup-selector.
You'll see that currently, it explicitly gets ngModel and ngDisabled from the bindings and adds these to the outputted <select> tag ( in the template).
Do the same with required
.
Only need to be a one-way binding, like ngDisabled. ngModel ahs to be two-way, or it wouldn't send the selected value back.
Comments (3)
-
-
- changed status to closed
feat(SchoolItem.cshtml): basic support for validation
Includes:
- basic validation on school form
- validation styling
- support for required on lookups-selector
- enhanced UI behaviors
- fix schClosed loosing value
→ <<cset c87c24adc563>>
-
reporter feat(SchoolItem.cshtml): basic support for validation
Includes:
- basic validation on school form
- validation styling
- support for required on lookups-selector
- enhanced UI behaviors
- fix schClosed loosing value
→ <<cset c87c24adc563>>
- Log in to comment
Sorry for the noise. I got it done a minute after I commented this.