It's a bit weird to have input field for a scheduled publish, which could then be rendered ineffective by immediately publishing the page anyway (rather than just saving the draft). Rather than conditionally removing the "publish" option when unsaved scheduled publish input is present, use an inline button to set it. This should refresh the form, since it changes the available actions to "remove embargo".
It's a bit weird to have input field for a scheduled publish, which could then be rendered ineffective by immediately publishing the page anyway (rather than just saving the draft). Rather than conditionally removing the "publish" option when unsaved scheduled publish input is present, use an inline button to set it. This should refresh the form, since it changes the available actions to "remove embargo".