Skip to content

Commit 785962c

Browse files
committed
Merge pull request #12 from Sgoettschkes/patch-1
Fixed wrong sentence in README.md
2 parents 698a5a5 + 1ccf5cc commit 785962c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ The type adds four options to the collection type options, of which one is requi
4747

4848
* `value_type` (required) defines which form type to use to render the value field
4949
* `value_options` optional options to the child defined in `value_type`
50-
* `allowed_keys` if this option is provided, the key field (which is usually a simple text field) will change
50+
* `allowed_keys` if this option is provided, the key field (which is usually a simple text field) will change to a `choice` field, and allow only those values you supplied in the this option.
5151
* `use_container_object` see explanation below at 'The KeyValueCollection'
5252

53-
to a `choice` field, and allow only those values you supplied in the this option.
54-
5553
Besides that, this type overrides some defaults of the collection type and it's recommended you don't change them:
5654
`type` is set to `burgov_key_value_row` and `allow_add` and `allow_delete` are always `true`.
5755

0 commit comments

Comments
 (0)