Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Sep 25, 2021

This pull request partly addresses #4246 by hiding the 'toggle all' checkbox in the Asset Browser if max_items on the field is 1.

@jasonvarga
Copy link
Member

This only prevents the toggle if max_files is 1.

If you set the max_files to another number, you can still click the toggle and end up selecting more than you should.

Thanks though!

@jasonvarga jasonvarga closed this Sep 28, 2021
@duncanmcclean
Copy link
Member Author

Doh! Should have thought of that - sorry!

@duncanmcclean duncanmcclean deleted the fix/4246 branch September 28, 2021 15:35
@jasonvarga
Copy link
Member

Actually it's still a good change to make.

@duncanmcclean duncanmcclean restored the fix/4246 branch September 28, 2021 15:35
@jasonvarga jasonvarga reopened this Sep 28, 2021
@jasonvarga jasonvarga merged commit f54d62e into statamic:3.2 Sep 28, 2021
@duncanmcclean duncanmcclean deleted the fix/4246 branch September 28, 2021 15:48
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.

2 participants