Fixed by using `:disabled` option instead.