LT-67: Displaying the validation error messages inside the form

This commit is contained in:
Bruno Alves de Faria committed 2016-08-31 19:17:00 -03:00
1 parent a47ecf0aac
commit 33e7297064
9 files changed
+84 -8

No files matched your search

@@ -19,7 +19,7 @@ Template.serverInformationForm.onRendered(() => {
// Handle the server type
instance.autorun(() => {
// Get the server type component
const typeComponent = instance.$('[data-key=type]').data('component');
const typeComponent = instance.$('[data-key=type] :input').data('component');
// Run this computation every time the user change the server type
typeComponent.depend();