Skip to content

Conversation

@lionel-bijaoui
Copy link
Member

As a solution to #210, I added an option hideNoneSelectedText in selectOptions

{			
	type: "select",
	label: "Role",
	model: "role",
	required: true,
	selectOptions: {
		hideNoneSelectedText: true
	},
	values: [{
		id: "admin",
		name: "Administrator"
	}, {
		id: "moderator",
		name: "Moderator"
	}, {
		id: "user",
		name: "Registered User"
	}, {
		id: "visitor",
		name: "Visitor"
	}],
	styleClasses: "half-width",
	validator: validators.required
}

Copy link
Member

@icebob icebob left a comment

Choose a reason for hiding this comment

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

Thanks! Mergeable

@lionel-bijaoui lionel-bijaoui merged commit fc2983b into vue-generators:master Jun 21, 2017
@lionel-bijaoui lionel-bijaoui deleted the lb_hide_none_selected_text branch June 27, 2017 12:54
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