I want access save and new button in lwc. I have created a custom popup, save and new functionality is not working.
JS code-
saveAndNewClick(event) {
// this.redirect = false;
// this.template.querySelector(".requiredfield").submit(this.inputs);
// this.resetpage = true;
saveClick();
handleReset();
}
handleReset() {
var input = this.template.querySelectorAll(".inputs");
if (input) {
input.forEach((input) => {
input.reset();
});
}