Validate slider definition using component metadata

[#43484231]