Add selector to widget getAttribute

yeah you're right