Page MenuHomePhabricator

Clear the invalid inputs from the Page input field when switching the block type (if they are distinguishable before submission)
Closed, DeclinedPublic

Description

Clear the invalid inputs from the Page input field when switching the block type (if they are distinguishable before submission)

Screen Shot 2018-11-01 at 2.38.47 PM.png (475×966 px, 79 KB)

Event Timeline

The pages are lost if the block is submitted as a sitewide block, but I don't think they should be dismissed when the radio buttons are toggled, as an admin could lose work by accidentally hitting the incorrect radio button.

The pages are lost if the block is submitted as a sitewide block.

Uhh... that shoudln't happen. They should persist. But I think this task is about validation... basically it should ignore the validation when you go to submit.