[web] Use input for period toggle on new plans GitOrigin-RevId: 0e1b76d92aa2143eb6721b9b2cd19505803fb153