Digital ACT-191 ONEAPP-9311 story: minor changes
This commit is contained in:
parent
ba06c5d466
commit
81f29f3558
@ -84,7 +84,7 @@ class InputStepperViewController: BaseViewController<InputStepper> {
|
||||
controlWidthPercentageTextField
|
||||
.numberPublisher
|
||||
.sink { [weak self] number in
|
||||
if let number {
|
||||
if let number, number.intValue > 10 {
|
||||
self?.component.controlWidthPercentage = number.cgFloatValue
|
||||
self?.controlWidthTextField.text = ""
|
||||
} else {
|
||||
@ -169,7 +169,7 @@ class InputStepperViewController: BaseViewController<InputStepper> {
|
||||
widthPercentageTextField
|
||||
.numberPublisher
|
||||
.sink { [weak self] number in
|
||||
if let number {
|
||||
if let number, number.intValue > 10 {
|
||||
self?.component.widthPercentage = number.cgFloatValue
|
||||
self?.widthTextField.text = ""
|
||||
} else {
|
||||
@ -218,7 +218,7 @@ class InputStepperViewController: BaseViewController<InputStepper> {
|
||||
component.labelText = "Quantity"
|
||||
component.helperText = "Add up to max lines."
|
||||
component.errorText = "You must choose a number of lines before advancing to the next step."
|
||||
component.defaultValue = 88
|
||||
component.defaultValue = 8
|
||||
component.trailingText = ""
|
||||
component.controlWidth = "auto"
|
||||
trailingTextField.text = component.trailingText
|
||||
|
||||
Loading…
Reference in New Issue
Block a user