EmberScreencast 172 - Displaying Errors Inline with ember-changeset-validations

Опубликовано: 12 Апрель 2026
на канале: EmberSchool
278
3

Originally published at EmberScreencasts.com on Aug 24, 2016. https://www.emberscreencasts.com/post...

Validation errors are great, but they're even better when they can be displayed by the relevant input field.

This video shows how to create the validated-input component, which includes inline error display, using ember-changeset-validations.

UPDATE: The 'update' method on 'one-way-input' renders the 'onblur' 'validateProperty' method superfluous. That's why it "works" even when using nonexistent variable 'property' instead of 'propertyName', as pointed out below by denzo. Sorry for the confusion.

Links:
ember-changeset-validations - https://github.com/DockYard/ember-cha...

Want to learn Ember 2? Go to https://www.emberschool.com