removed accessibleText
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
63de916555
commit
7e2fdb30e3
@ -309,7 +309,6 @@ open class InputField: EntryFieldBase, UITextFieldDelegate {
|
||||
actionTextLink.surface = surface
|
||||
if let actionTextLinkModel = actionLinkModel {
|
||||
actionTextLink.text = actionTextLinkModel.text
|
||||
actionTextLink.accessibilityLabel = actionTextLinkModel.accessibleText
|
||||
actionTextLink.isHidden = false
|
||||
containerStackView.setCustomSpacing(VDSLayout.space2X, after: statusIcon)
|
||||
} else {
|
||||
|
||||
@ -13,15 +13,11 @@ extension InputField {
|
||||
///Text that goes in the Tab
|
||||
public var text: String
|
||||
|
||||
///Text that goes in the Tab
|
||||
public var accessibleText: String?
|
||||
|
||||
///Click event when you click on a tab
|
||||
public var onClick: ((TextLink) -> Void)?
|
||||
|
||||
public init(text: String, accessibleText: String? = nil, onClick: ((TextLink) -> Void)? = nil) {
|
||||
public init(text: String, onClick: ((TextLink) -> Void)? = nil) {
|
||||
self.text = text
|
||||
self.accessibleText = accessibleText
|
||||
self.onClick = onClick
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user