Pamasich@kbin.socialtoProgramming@programming.dev•Should a toggle button show its current state or the state to which it will change?
17·
9 months agoDepends on what the purpose of the button is.
A setting should show the current state, but an action (referring to the play button example) should show the state it’ll transition to.
That’s why I use Copilot.
Asked it for the official documentation, got a link to the /current/ documentation’s chapter on operators. Then asked for the heading about the IN operator and it gave me all four of the numbers. No need to wade through outdated or irrelevant results.