Skip to content

Commit 1ccf5cc

Browse files
committed
Fixed wrong sentence in README.md
I was confused with the part of the sentence below the list of options and figured out it belonged to the third bullet point. At least now it makes sense to me. If I'm wrong, please think about rewriting this section because it confused me. If you explain it to me I'm more than happy to rephrase it!
1 parent 698a5a5 commit 1ccf5cc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: 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)