Steps to reproduce:
- Create host with all possible interfaces: (Agent, SNMP, JMX, IPMI).
- Create one or more Items with type "Zabbix agent".
- Select several Items and click Mass update.
- Check Type checkbox and choose IMPI agent for example.
- Check Host interface checkbox and try to choose IPMI interface.
Result: IPMI interfaces are disabled.
Expected: Interfaces are enabled.
After user tries to submit form, error is displayed, then IPMI interface in dropdown will be enabled.
The same scenario is also actual for Item prototypes.