• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

json-schema-form / angular-schema-form / 453 / 1
99%
development: 99%

Build:
DEFAULT BRANCH: development
Ran 22 May 2015 10:08PM UTC
Files 15
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2015 10:08PM UTC coverage: 70.709%. First build
453.1

push

travis-ci

David Jensen
Iron out some creases in validation

* schemaFormValidate used model value for validation, so any ordinary validation message got changed to "required".
  This was since we validated the model value, we can't validate the viewValue since numbers wouldn't work. So we
  set the viewValue again to trigger parsers. This works fine in Angular 1.2 and in 1.3 it solves the problem, but
  introduces another. When setting the viewValue `undefined` in 1.2 we get a nice "required", but in 1.3 parsers
  aren't even called. So we add an extra check with required and ngModel.$isEmpty()
* In Angular 1.3 returning undefined from a parser automatically tacks on a 'parse' error. Instead we always return
  the viewValue and later in a special validator ('schemaForm') stop the model from getting updated. 'schemaForm'
  error gets filtered so it never hits the forms. In Angular 1.2 we return undefined since that doesn't tack on a
  'parse' error.

618 of 874 relevant lines covered (70.71%)

93.17 hits per line

Source Files on job 453.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 453
  • Travis Job 453.1
  • 71a30535 on github
  • Prev Job for on development (#452.1)
  • Next Job for on development (#454.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc