bootstrap
bootstrap copied to clipboard
(timepicker) Name propagation to input elements
Hello,
when I add "name" attribute to timepicker element, the name only propagates to the table. Is there a way to propagate it to input fields too?
Thanks
Currently there is no way to do this, other than overriding the template and directive yourself.
Anyway, I don't think you need this functionality for the inner inputs, and for you form, you should check $addControl of FormController for your "outter" model.
Hmm.. Will an input with the type of hidden and a matching ngModel not suffice?
Update: I guess it wouldn't. You'd have to do
<input name="submitVar" type="hidden" value="{{scopeVar}}" />
Okay, I'm done disturbing a closed issue. Just leaving this for the next googler.