You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The dynamic-form component also takes a data parameter to populate fields. The component will attept to populate any field that has a matching key in the data object.</p>
9
-
<p>Below we will take our basic schema and add a data object to populate fields.</p>
9
+
<p>The dynamic-form component also takes a data parameter to populate fields.
10
+
It will populate any field that has a matching key in the data object.</p>
11
+
<p>In the form example above we pass in an ember object called Feedback with a computed property as our data argument.</p>
10
12
11
13
{{#highlight-js}}
12
14
<pre>/app/routes/demos/data.js<code>import Ember from 'ember';
15
+
16
+
const Feedback = Ember.Object.extend({
17
+
name: Ember.computed('firstName', 'lastName', function () {
0 commit comments