- 
    Incident report 
- 
    Resolution: Unresolved
- 
    Trivial 
- 
    None
- 
    5.0.3, 5.0.10, 5.2.6, 5.4.0beta3
- 
    CentOS 8, Nginx, Zabbix 5.0.3
Steps to reproduce:
- Under Configuration, actions, select "Discovery Actions", then Create a new action
- Add a condition for "Uptime/downtime" "is less than" and:
- Type a timespec like "3w", and hit "Add"
- Back on the main condition screen, you'll see that the "3w" trimmed off the "w" turning your "3 weeks" into "3 seconds"
Result:

then

--> Upon further inspection, this change seems to happen when the cursor moves away from the "Value" field - so it may be a validation problem instead of storage problem. But either way, it means the user has to calculate the number of seconds in 3 weeks to get the desired outcome.
 Expected:
I expect to see "3w" back on the main "Add" display.

