I attempted to clear the input information and show blank input fields.
This is my current input information:
<input type="text" class="form-control input-sm"
required
autocomplete="off"
ng-model="q.startDate"
date-range-picker
options="$ctrl.ui.datePicker" />
I tried setting the data to null, but I am unsure of how to refresh the page to display empty input fields.
clear() {
this.newQuarters.forEach((_value, index) => {
_value.start = null;
_value.end = null;
_value.allocation= false;
});
});
}