you have to enter the same info. I want to create a checkbox as 'Same as above ticket' On clicking it, the info would be filled in the next ticket. How should I implement this??
Well, you need some object to store the data. This could be the component, but it would be more convenient if it were a separate object: a POJO, an Ember Data model, a changeset (ember-changeset), etc. Then you can copy properties from one object to another.
so, a form will have the same fields for the number of tickets a user is buying. I would need to create those many objects if I need to copy the properties??
Should the user be able to edit those fields separately?
Обсуждают сегодня