args.maximumSelectionLength = 3 worked for me. Thank you.
I had the same problem and found the solution when I look through the database. I notice ACF ads prefix ‘options_‘ to the field for the options page.
So if your field name is ‘color’, to get the value use it like this
get_option( 'options_colour');