Skip to content

Options for test#45

Open
dzudzylo wants to merge 4 commits into
developfrom
optionsForTest
Open

Options for test#45
dzudzylo wants to merge 4 commits into
developfrom
optionsForTest

Conversation

@dzudzylo

@dzudzylo dzudzylo commented Dec 2, 2017

Copy link
Copy Markdown

options for the test item added

writeValue(value: Question) {
if (value !== void(0)) {
this.form.setValue(value);
this.form.patchValue(value);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you rename answers to options? On back-end we have answers and if you pass value(from back-end) to this form form, you will recieve error or unexpected behavior, because form except answers field

@YuriiHoliuk YuriiHoliuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все супер крім коменту який я написав.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants