Open halukkaramete opened 6 years ago
I've figured what was wrong. I was missing the name attribute of the button too. name="myNameIsTrinity" did the trick.
<button name="myNameIsTrinity" type="button" class="btn btn-primary" [(ngModel)]="disabledV" btnCheckbox btnCheckboxTrue="1" btnCheckboxFalse="0"> {{disabled === '1' ? 'Enable' : 'Disable'}}
Why don't you update your demo to throw in the names to avoid this?
Had the same issue, I put the name attribute to ng-select like this:
<ng-select name="anyName" ... ></ng-select>
got this on my html
but yet, I'm still getting this error:
What am I doing wrong here? ( The only thing I did not do in the instructions is to include ng2-select.css )