Delay next action doesn't accept values above 999

Describe the bug
When adding a "delay next action" block, the seconds field won't take a value above 999.

I want to be able to set 3600 seconds, 1 hour.
When trying to save the action, it turns into 3 seconds.

BTT version 3.560