Button component style Border with default "Other Border"

I want to style a button border where my custom Boolean property causes the border to look like the normal default “Other Border” when false, and a “Line Border” when True. Is there any way to do this?

Currently when I try, even if I never touch the “Other Border” dropdown for option 1, after clicking OK, the border is erased and set to “No Border”.

Setting for first time:

Setting after reopening:

I noticed one of the available styles is “Button”, which appears the same as the default “Other Border”. So that works for me.