Commit Graph

4535 Commits

Author SHA1 Message Date
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
Hedden, Kyle Matthew
ea24e12909 Merge branch 'bugfix/hidden_panels_hidden' into 'develop'
hide the panels when not showing

See merge request BPHV_MIPS/mvm_core_ui!796
2022-01-18 22:09:13 +00:00
Scott Pfeil
f5e7b24601 hide the panels when not showing 2022-01-18 17:03:53 -05:00
Pfeil, Scott Robert
a871f09b43 Merge branch 'bugfix/form_read_only' into 'develop'
form read only build fix

See merge request BPHV_MIPS/mvm_core_ui!792
2022-01-14 19:06:52 +00:00
Scott Pfeil
9157be5047 form read only build fix 2022-01-14 14:00:44 -05:00
Hedden, Kyle Matthew
e990504ce3 Merge branch 'feature/optional-readonly' into 'develop'
update to Forms

See merge request BPHV_MIPS/mvm_core_ui!791
2022-01-13 19:08:08 +00: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
Hedden, Kyle Matthew
c07767cfb9 Merge branch 'feature/dynamicRuleFormFieldEffect' into 'develop'
implemented dynamic rule effect

See merge request BPHV_MIPS/mvm_core_ui!790
2022-01-12 19:57:49 +00:00
Matt Bruce
7e93a8142b Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui.git into feature/optional-readonly 2022-01-11 15:55:35 -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
Bruce, Matt R
8d55651a3e Merge branch 'develop' into 'develop'
fixed default text bug

See merge request BPHV_MIPS/mvm_core_ui!789
2022-01-05 20:46:30 +00: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
Pfeil, Scott Robert
bdb0bc5e0b Merge branch 'bugfix/Accessibility' into 'develop'
added accessibility text

See merge request BPHV_MIPS/mvm_core_ui!786
2022-01-05 17:27:36 +00: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
Pfeil, Scott Robert
a7d1e00156 Merge branch 'bugfix/caretLinkEncodeFix' into 'develop'
Fix for enabledColor in CaretLinkModel

See merge request BPHV_MIPS/mvm_core_ui!788
2022-01-03 15:06:33 +00:00
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
Pfeil, Scott Robert
a87d7f68e3 Merge branch 'bugfix/popupAlert_analytics' into 'develop'
Setting pageJSON for alertobject

See merge request BPHV_MIPS/mvm_core_ui!781
2021-12-21 14:40:16 +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