eastslopestudio / craft-sites-field

Craft 3 Field type that allows the selection of Craft sites.
MIT License
2 stars 6 forks source link

Bug: Cannot unselect all when using muliple #14

Closed vandres closed 1 year ago

vandres commented 2 years ago

That line

https://github.com/eastslopestudio/craft3-sites-field/blob/db30be606a442c72e068be411ced1cecd5616993/src/templates/_input.html#L5

should be

<input type="hidden" name="{{ field.handle }}" value="">
ryanscherler commented 2 years ago

@vandres Do you mind putting in a PR and I can merge in?