Digital ACT191 story ONEAPP-6682 removed unnecessary code
This commit is contained in:
parent
4f41d9cc93
commit
a2026a4319
@ -143,7 +143,6 @@ open class TextArea: EntryFieldBase {
|
|||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
accessibilityLabel = "TextArea"
|
accessibilityLabel = "TextArea"
|
||||||
isAccessibilityElement = true
|
|
||||||
|
|
||||||
containerStackView.pinToSuperView(.uniform(VDSFormControls.spaceInset))
|
containerStackView.pinToSuperView(.uniform(VDSFormControls.spaceInset))
|
||||||
minWidthConstraint = containerView.widthAnchor.constraint(greaterThanOrEqualToConstant: containerSize.width)
|
minWidthConstraint = containerView.widthAnchor.constraint(greaterThanOrEqualToConstant: containerSize.width)
|
||||||
@ -172,7 +171,6 @@ open class TextArea: EntryFieldBase {
|
|||||||
textView.text = ""
|
textView.text = ""
|
||||||
characterCounterLabel.reset()
|
characterCounterLabel.reset()
|
||||||
characterCounterLabel.textStyle = .bodySmall
|
characterCounterLabel.textStyle = .bodySmall
|
||||||
minHeight = .twoX
|
|
||||||
setNeedsUpdate()
|
setNeedsUpdate()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user