Sourabh Bhardwaj
c3eb895bdd
Changes as per Kyle comments on PR
2022-02-17 17:39:19 +05:30
Sourabh Bhardwaj
39e29bbaaf
Removing space from email field
2022-02-15 12:26:32 +05:30
Matt Bruce
a2319babc7
ensure the previousValidity is set before breaks
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-19 11:52:04 -06:00
Matt Bruce
67312fefd3
if false, the loop was breaking out before the previousValidity was set with the fieldKey that failed.
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-19 11:45:59 -06:00
Bruce, Matt R
d9a0c6b249
Merge branch 'bugfix/FormGroupValidation' into 'develop'
...
FormGroupRule validateGroup update
See merge request BPHV_MIPS/mvm_core_ui!797
2022-01-19 17:11:19 +00:00
Matt Bruce
69799be944
reverse order of method to do FormFieldEffects first, then validation. This is so the validation only runs 1 time instead of 2 times which could cause UI issues.
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-19 10:38:23 -06:00
Scott Pfeil
f5e7b24601
hide the panels when not showing
2022-01-18 17:03:53 -05:00
Scott Pfeil
9157be5047
form read only build fix
2022-01-14 14:00:44 -05:00
Matt Bruce
e5d27cd423
remove print
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-13 11:37:08 -06:00
Matt Bruce
9c34ea267e
fixed encodeIfPresent
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-13 11:36:15 -06:00
Matt Bruce
52844cd5e1
fixed to add readOnly
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-13 11:35:24 -06:00
Matt Bruce
0dce42fb37
refactored code for stack
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-13 11:04:10 -06:00
Matt Bruce
143ebccb34
remove readOnly from the Views and now using the isEnabled and model is controlling this based off enabled & readOnly
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-13 10:57:18 -06:00
Matt Bruce
3fa1be0582
refactored validate group with new valid that returns tuple
...
update to set formfield validity after the group.validate occurs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 15:55:23 -06:00
Matt Bruce
7c05d9fcc7
refactored out setting form field validity within validation
...
refactored validate method to return tuple and again not mess with setting formfield validity
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 15:54:36 -06:00
Matt Bruce
df2b6b4db2
removed setting the form field validity within a validation
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 15:53:43 -06:00
Matt Bruce
7432454232
Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui.git into feature/optional-readonly
...
# Conflicts:
# MVMCoreUI.xcodeproj/project.pbxproj
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-12 13:59:52 -06:00
Matt Bruce
1fe73feb1f
added init
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:52:27 -06:00
Matt Bruce
d3f4f21b02
refactored StateLabel to FormLabel
...
add errorLabel
removed all constraints and replaced with UIStackView
show/hide errorLabel within showError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:51:57 -06:00
Matt Bruce
083d767740
updated model with:
...
removed: titleLabel, feedbackLabel
added: required
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:48:34 -06:00
Matt Bruce
8444ad15eb
refactored StateLabelModel/StateLabel to FormLabelModel/FormLabel
...
removed state (error/disabled/error)
replace with enabled (model) / isEnabled (view)
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 15:47:37 -06:00
Matt Bruce
95b32491d1
moved clearablemodelprotocol out of the formfieldeffect
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 10:19:12 -06:00
Matt Bruce
63a23033cc
added ClearableModelProtocol
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-11 10:17:10 -06:00
Matt Bruce
cb3811f4ea
update readOnly didSet to only effect the FormField only and not title/feedback labels
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-10 13:54:55 -06:00
Matt Bruce
05674a6798
added isReadOnly to views/helpers to read the model.readOnly property and update the UI similarly to disabled state
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-07 12:54:28 -06:00
Matt Bruce
6c7c683b27
added readOnly to models
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-07 12:53:06 -06:00
Matt Bruce
8397522c46
implemented dynamic rule effect
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-06 15:13:53 -06:00
Matt Bruce
17f7161fe0
fixed default text bug
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-01-05 14:41:24 -06:00
Nishanth T
dc8732e9ef
removed unneccessary comment
2022-01-05 22:48:45 +05:30
Nishanth T
631c3a8067
changed model title
2022-01-05 22:42:08 +05:30
Nishanth T
4ed9dcacfd
Update ListOneColumnFullWidthTextBodyText.swift
2022-01-05 18:40:58 +05:30
Nishanth T
d27def951e
Merge branch 'develop' into bugfix/Accessibility
2022-01-05 18:38:09 +05:30
Nishanth T
d35eceb78c
Added accessibiltyText for pillButton and link
2022-01-05 18:37:21 +05:30
Rajendran, Nandhini
da31c93b5e
Fix for enabledColor in CaretLinkModel
2022-01-03 15:06:25 +00:00
Nishanth T
1a912b485e
Merge branch 'develop' into bugfix/Accessibility
2021-12-23 01:47:58 +05:30
Pfeil, Scott Robert
603dbc4430
Merge branch 'feature/swift_subnav_manaager' into 'develop'
...
sub nav manager
See merge request BPHV_MIPS/mvm_core_ui!787
2021-12-21 16:23:24 +00:00
Krishna Kishore Bandaru
27c3e9da1e
Merge branch 'develop' into bugfix/popupAlert_analytics
2021-12-21 13:09:12 +05:30
Krishna Kishore Bandaru
bd729b514a
added analytics data for AlertModel
2021-12-21 13:08:39 +05:30
Scott Pfeil
065cf9a2af
remove self.
2021-12-20 14:47:43 -05:00
Scott Pfeil
15d60bd3eb
remove self.
2021-12-20 14:45:14 -05:00
Scott Pfeil
9aad8e897c
cleanup
2021-12-17 15:53:20 -05:00
Scott Pfeil
5aaf93186a
fix tabs to respect proper spacing
2021-12-17 15:47:38 -05:00
Scott Pfeil
ba16e241cb
sub nav manager
2021-12-17 14:48:42 -05:00
Nishanth T
694a557c86
modified code for clarity
2021-12-17 19:41:55 +05:30
Nishanth T
97b19696d7
Merge branch 'develop' into bugfix/Accessibility
2021-12-17 19:40:53 +05:30
Matt Bruce
27bca4e436
refactored CarouselItemModelProtocol to inherit FormFieldProtocol
...
update CarouselItemModel with FormFieldProtocol requirements
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2021-12-16 17:33:28 -06:00
Nishanth T
649a9361e4
added accessibility text
2021-12-17 01:59:13 +05:30
Matt Bruce
5233777a25
updated formFieldValue to look for enabled property
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2021-12-16 10:48:16 -06:00
Bruce, Matt R
87195296cc
FormFieldEffects Update
2021-12-14 21:18:37 +00:00
Krishna Kishore Bandaru
3c8046587b
setting pageJSON for alertobject
2021-12-10 19:37:26 +05:30