This seems like a relatively simple thing but I can\'t find anything anywhere on how to do it. I have a modal that opens with a disabled input while waiting for async data.
I once had a project with it, but I lost the motivation to do it.
I searched for a way to do that kind of stuff, and I found that MutationObserver should be a good way to do it.