BS4 Input Control header & badge color

How to change the BS4 Input control header text color and the badge appearance in runtime?

Input1_header.style.color = "red"
$("#Input1_badge").removeClass("badge badge-info")
$("#Input1_badge").addClass("badge badge-warning")

Share your story with the AppStudio Community! Quarantine Stories

Got it. Thanks.