This PR makes two small adjustments to the Button Group fieldtype:
Adds a clearable option to the config. When enabled, this works like the Select fieldtype but without a dedicated ✖ button. Instead, you can now just click the currently-selected option to deselect it.
Previously, hovering anywhere to the right of grouped buttons (ie, in the blank, unused space after the group) would show a pointer cursor, as if there was an invisible button. Quick little CSS patch on the wrapper to use cursor-default instead.
Let me know if there are any edits I can help with, here!
This PR makes two small adjustments to the Button Group fieldtype:
clearable
option to the config. When enabled, this works like the Select fieldtype but without a dedicated ✖ button. Instead, you can now just click the currently-selected option to deselect it.cursor-default
instead.Let me know if there are any edits I can help with, here!