How to Do Partial Rerun for This Dynamic Form Using Fragments?

The bug was resolved and fixed in Streamlit v.1.38. The script now runs without error and we call this issue Solved! Thanks, Streamlit Team!