LT-67: Displaying the validation error messages inside the form
This commit is contained in:
1 parent
a47ecf0aac
commit
33e7297064
9 files changed
+84
-8
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user