Hello!
I use Ui-router, Formly and Formly Bootstrap Templates in my project and I have got the error:

Before this I had created the new type (as it was suggested in issue #67):
formlyConfig.setType({
name: 'select-with-empty',
extends: 'select',
template: '<select class="form-control" ng-model="model[options.key]"><option value=""> </option></select>',
});
The error appears when I open a state with form (which contains 'select-with-empty' type fields), then open an other state and then open the first state again. All of 'select-with-empty' type fields are hide, count of errors equals count of 'select-with-empty' type fields.
What is wrong? May be it's a question to Formly developers?
Hello!
I use Ui-router, Formly and Formly Bootstrap Templates in my project and I have got the error:
Before this I had created the new type (as it was suggested in issue #67):
The error appears when I open a state with form (which contains 'select-with-empty' type fields), then open an other state and then open the first state again. All of 'select-with-empty' type fields are hide, count of errors equals count of 'select-with-empty' type fields.
What is wrong? May be it's a question to Formly developers?