adopted-ember-addons / adopted-ember-addons/ember-paper

form validation is not working when setting up required fields in init() instead of in .hbs

Open
#610 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
879
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Hello,
if I set required fields in init() in the controller,
like:
```
init() {
this.set("namerequired", true);
}
```

the form validation will not be working. However, when you go to the other page and then come back.
The validation works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.