Skip to content

[RFR] Hide empty option in choice field#416

Merged
jeromemacias merged 1 commit intomasterfrom
empty_select
May 1, 2015
Merged

[RFR] Hide empty option in choice field#416
jeromemacias merged 1 commit intomasterfrom
empty_select

Conversation

@fzaninotto
Copy link
Copy Markdown
Member

Before:
image

After:
image

I can't add the unselected option to the list of choices because Angular throws me an infinite digest loop error (since I have to manipulate the return from getChoices() and it's always a new string litteral).

Closes #382

jeromemacias added a commit that referenced this pull request May 1, 2015
[RFR] Hide empty option in choice field
@jeromemacias jeromemacias merged commit aa23b19 into master May 1, 2015
@jeromemacias jeromemacias deleted the empty_select branch May 1, 2015 22:57
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.

Field Choices - give extra blank option added using ng-repeat in select tag

2 participants