Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createDefaultObject copy array & object as reference #174

Closed
icebob opened this issue Mar 29, 2017 · 0 comments
Closed

createDefaultObject copy array & object as reference #174

icebob opened this issue Mar 29, 2017 · 0 comments
Assignees
Milestone

Comments

@icebob
Copy link
Member

icebob commented Mar 29, 2017

{
	type: "checklist",
	model: "font.style",
	multiple: true,
	default: [],
	values: [
		{ id: "bold", name: msg(7218) },
		{ id: "italic", name: msg(7219) },
	]
}

vfg must clone the default value if it is an Object and not null

@icebob icebob self-assigned this Mar 29, 2017
@icebob icebob added this to the v2.0.0 milestone Mar 29, 2017
@icebob icebob closed this as completed in d939c95 Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant