Closed dfederm closed 6 years ago
Hello @dfederm
Sorry but seems to me that is not a error from this library. Maybe if you share some of your code in your view i can help you.
You can check my implementation with form in the demo. check this repository
The error is within angular itself when using template-driven forms. The input from your lib does not have a name attribute (or an option to use that standalone thing), so the template-driven form code in angular throws.
@dfederm you checked the repository ?, I think you can use ngModelOptions
, i never tried but should work because the component itself handle the model
Ah, I assumed ngModelOptions
needed to be on the underlying <input>
as per in the error message's example. I suppose it makes more sense to be on the same element as what the ngModel
is on though.
I get the following error when trying to use this inside of a
<form>
.