Digital ACT-191 ONEAPP-7135 story: removed unnecessary code
This commit is contained in:
parent
51d1ded4c8
commit
99d6878ed9
@ -281,17 +281,7 @@ open class DropdownSelect: Control {
|
||||
selectedOptionLabel.surface = surface
|
||||
backgroundColor = surface.color
|
||||
}
|
||||
|
||||
/// Used to update any Accessibility properties.
|
||||
open override func updateAccessibility() {
|
||||
super.updateAccessibility()
|
||||
if error {
|
||||
setAccessibilityLabel(for: [eyebrowLabel, selectedOptionLabel, errorLabel, helperLabel])
|
||||
} else {
|
||||
setAccessibilityLabel(for: [eyebrowLabel, selectedOptionLabel, helperLabel])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Resets to default settings.
|
||||
open override func reset() {
|
||||
super.reset()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user