How to clear field value after the field is disabled

I have two fields like this, only when "Yes" is selected for "Limited" field can user input value for "Limit" field. But I found when "Limit" is disabled, the value is still there.

How can I clear value after "Limit" is disabled?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data