Looks like you have created a configurable tab and did not configure it properly like below:
pages.config.setValidityState(true)
If you add this, "Save" button will be enabled.
Reference document link:
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-tab-pages/configuration-page?tabs=teamsjs-v2