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

Max Cardinality in Lists + Unit Tests #513

Merged
merged 5 commits into from
Sep 13, 2016

Conversation

glenpike
Copy link
Collaborator

@glenpike glenpike commented Jun 6, 2016

Merge in #444, refactor duplication and add unit tests.

Sebastian Trueg and others added 4 commits January 22, 2015 10:57
This allows add "maxCardinality" to the schema which will hide or
show the "add" button based on the number of values in the list.
…github.com/trueg/backbone-forms into trueg-feature/editors/list/maxCardinalitySupport

Conflicts:
	src/editors/extra/list.js
…github.com/trueg/backbone-forms into trueg-feature/editors/list/maxCardinalitySupport

Conflicts:
	src/editors/extra/list.js
@exussum12
Copy link
Collaborator

Hmmm not sure about the wording, from a mahts/database background carnality is the unique values

https://i.ytimg.com/vi/K8whYBarK8M/hqdefault.jpg

where as this is the total values ?

@glenpike
Copy link
Collaborator Author

Rename to "maxListLength" ?

@exussum12
Copy link
Collaborator

Sounds good to me :)

Cardinality is not the correct term to use KISS.
@glenpike
Copy link
Collaborator Author

Done

@exussum12 exussum12 merged commit 25e08b0 into powmedia:master Sep 13, 2016
@exussum12
Copy link
Collaborator

Looks great :) Cheers

@glenpike glenpike deleted the maxCardinalitySupport branch September 14, 2016 10:59
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