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

Fix for Array type model #18

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Fix for Array type model #18

wants to merge 1 commit into from

Conversation

peaeater
Copy link

An update that ensures the Switch value is added to and removed from the model when the model is of Array type. Also renamed method getDateType() to getDataType() to reflect what it actually does.

Before this change, if the model was of Array type, and the Switch value was meant to represent an item in the model's array, then the value was not removed from the model's array when the Switch checked state changed from true to false. Also the Switch value would be added again to the model's array when the Switch checked state changed from false to true.

An update that ensures the Switch value is added to and removed from the model when the model is of Array type. Also renamed method getDateType() to getDataType() to reflect what it actually does.
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.

1 participant