Skip to content

add ability to set multiple defaults for multi-value fields#7

Open
isaacniebeling wants to merge 1 commit intoyoleg:masterfrom
isaacniebeling:master
Open

add ability to set multiple defaults for multi-value fields#7
isaacniebeling wants to merge 1 commit intoyoleg:masterfrom
isaacniebeling:master

Conversation

@isaacniebeling
Copy link

Right now, multi-value fields can't have multiple defaults set. This is problematic for checkbox fields in particular. With this patch, we check to see if the field is marked as an array field and then check to see if the current value is an array. If it isn't, then make it into one, using the options_outer_delimiter to split.

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