Merge branch 'hotfix/checkbox-showError' into 'release/20_1_0'
CXTDT-599891 - taking out showError for now ### Summary Checkboxes have never had an error state, so until we figure out the default state, we need to turn it off. ### JIRA Ticket https://onejira.verizon.com/browse/CXTDT-599891 Co-authored-by: Matt Bruce <matt.bruce@verizon.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1169
This commit is contained in:
commit
696b6b99d0
@ -143,7 +143,8 @@ import VDS
|
|||||||
MVMCoreDispatchUtility.performBlock(onMainThread: { [weak self] in
|
MVMCoreDispatchUtility.performBlock(onMainThread: { [weak self] in
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
let isValid = viewModel.isValid ?? true
|
let isValid = viewModel.isValid ?? true
|
||||||
showError = !isValid
|
//TODO: Fix issue with default state
|
||||||
|
//showError = !isValid
|
||||||
isEnabled = viewModel.enabled
|
isEnabled = viewModel.enabled
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -75,7 +75,8 @@ import VDS
|
|||||||
MVMCoreDispatchUtility.performBlock(onMainThread: { [weak self] in
|
MVMCoreDispatchUtility.performBlock(onMainThread: { [weak self] in
|
||||||
guard let self = self else { return }
|
guard let self = self else { return }
|
||||||
let isValid = viewModel.checkbox.isValid ?? true
|
let isValid = viewModel.checkbox.isValid ?? true
|
||||||
showError = !isValid
|
//TODO: Fix issue with default state
|
||||||
|
//showError = !isValid
|
||||||
errorText = viewModel.checkbox.errorMessage
|
errorText = viewModel.checkbox.errorMessage
|
||||||
isEnabled = viewModel.checkbox.enabled
|
isEnabled = viewModel.checkbox.enabled
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user