bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

(timepicker) Name propagation to input elements

Open kamilwysocki opened this issue 12 years ago • 2 comments

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

kamilwysocki avatar Feb 21 '14 09:02 kamilwysocki

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.

bekos avatar Apr 13 '14 19:04 bekos

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.

Verron avatar Oct 30 '14 05:10 Verron