The right way to fix this is probably to have an on change that sends an event up to library to set state back to null