Commit Graph

114 Commits

Author SHA1 Message Date
Scott Pfeil
dd7d787ba9 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui into feature/action_modernize 2022-07-28 23:02:44 -04:00
Matt Bruce
16ddcedd80 added new method for sending the server value
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-22 11:06:39 -05:00
Scott Pfeil
16e9079b8c Action modernization 2022-07-18 18:54:11 -04:00
Matt Bruce
d90503e988 added 'public' to current initializers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-06-21 15:12:53 -05:00
Matt Bruce
305372fe04 added a public initializer
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-06-21 15:10:59 -05:00
Matt Bruce
9c264dcfe0 Kyle was correct, guards or if lets are read left to right, including where statements.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-03-11 11:10:52 -06:00
Bruce, Matt R
cd6b03b64b Fix for MultiErrors, not a final solution, but a stopgap until we can refactor all of the forms 2022-03-11 16:29:45 +00:00
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
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
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
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
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
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
87195296cc FormFieldEffects Update 2021-12-14 21:18:37 +00:00
Suresh, Kamlesh
43bb9cde80 fix 2021-08-05 17:16:51 -04:00
Suresh, Kamlesh Jain
345fb971cc Merge branch 'feature/form_group_fix' into 'develop'
Feature/form group fix

See merge request BPHV_MIPS/mvm_core_ui!716
2021-05-17 17:20:50 -04:00
Suresh, Kamlesh
150db41076 remvoe newline 2021-05-17 17:03:29 -04:00
Suresh, Kamlesh
9998a514f3 get groupName from model 2021-05-17 16:31:23 -04:00
Suresh, Kamlesh Jain
3e5ef463e8 Merge branch 'feature/action_openpage_protocol' into 'develop'
ActionOpenPageProtocol

See merge request BPHV_MIPS/mvm_core_ui!714
2021-05-10 13:26:11 -04:00
Suresh, Kamlesh
085c990475 fix 2021-05-07 12:05:11 -04:00
Suresh, Kamlesh
d77fdd5411 ActionOpenPageProtocol 2021-05-06 14:04:08 -04:00
Suresh, Kamlesh Jain
fb053a7e29 Merge branch 'feature/fix_form_rules' into 'develop'
iterate throw all rules

See merge request BPHV_MIPS/mvm_core_ui!698
2021-05-05 11:37:42 -04:00
Christiano, Kevin
30cd90dc17 Molecular formatting updates 2021-04-13 14:54:09 -04:00
Suresh, Kamlesh
a50e3346e7 code review 2021-04-08 15:34:21 -04:00
Suresh, Kamlesh
766ba93499 code review 2021-03-30 12:12:12 -04:00
Suresh, Kamlesh
2e75f8638c iterate throw all rules 2021-03-29 18:44:26 -04:00
Kevin G Christiano
3efe4ae81f continues development 2021-02-11 16:09:38 -05:00
Kevin G Christiano
5826b39872 update 2021-01-12 10:33:06 -05:00
Kevin G Christiano
db424ce04a field errors start 2020-12-22 16:35:21 -05:00
Kevin G Christiano
0eaa7c1613 exposing accessibility. test improvements. 2020-12-10 14:28:55 -05:00
Kevin G Christiano
acebc936d7 simplifying. 2020-12-02 12:50:42 -05:00
Kevin G Christiano
83d0786597 updates made. 2020-12-02 11:40:36 -05:00
Chintakrinda, Arun Kumar (Arun)
fbd198a2be Added remove to form validator 2020-07-14 15:08:03 +05:30
Pfeil, Scott Robert
9f547669f6 Minor cleaning 2020-06-08 14:43:38 -04:00
Kevin G Christiano
f8025eb67a more room for validation 2020-05-18 12:27:11 -04:00
Kevin G Christiano
90d5093318 name change 2020-05-15 16:25:37 -04:00
Kevin G Christiano
ac5bf372eb undo 2020-05-15 16:16:14 -04:00
Kevin G Christiano
926659c129 dramatic change 2020-05-15 16:15:43 -04:00
Kevin G Christiano
c144b07a83 revisions for review 2020-05-15 16:14:16 -04:00
Kevin G Christiano
6d3805c958 valid true 2020-05-15 15:39:35 -04:00
Kevin G Christiano
461fd5e2ca new rule logic. 2020-05-15 15:37:40 -04:00
Kevin G Christiano
7e3c9fdcdb new rule equalsignorecase 2020-05-15 15:20:03 -04:00