To prevent the button from disappearing, you can simply add a notification when the conditions are not met in your custom action.
To disable your button follow the following link: Exploring the Enhanced Capabilities of Glide’s Native Form
2 Likes