Fix minor
[BUG #8743] Override setAttribute and getAttribute to enable name support for slider and its hidden field