58 Commits

Author SHA1 Message Date
leigh-mil
62cdcbe6dc Remove some leftover 'watch' attributes from Vue components 2019-11-22 09:22:47 -05:00
leigh-mil
5a98e6966e Styling for name and description section:
As part of this, the empty placeholder span was removed from the text input macro and the span will now be conditionall rendered if there is an error message
2019-10-14 14:03:45 -04:00
leigh-mil
cbbbfad494 Don't use nbsp 2019-09-04 10:51:34 -04:00
leigh-mil
4d24f97ed7 Add optional label to text, options, phone, and multi-checkbox inputs
Use new optional attribute on fields that are optional
Update styling to fit optional label and update translations
2019-09-03 15:34:07 -04:00
leigh-mil
8fa96fa2e1
Merge pull request #1040 from dod-ccpo/max-line-width
Max line width
2019-08-30 09:40:51 -04:00
leigh-mil
2938e48a65 Set max width on p elements and add in p tags where they were missing 2019-08-29 10:33:15 -04:00
graham-dds
1901172d6e Remove inset_form prop from text inputs 2019-08-27 15:59:51 -04:00
leigh-mil
666f237002 Update text input vue component so that it only shows the validation icon on mount when the form is not a form that is inset into a page 2019-08-19 10:28:20 -04:00
leigh-mil
e8dede201b Reorder elements on the page, fix input widths, move validation icon for inputs 2019-07-26 11:20:10 -04:00
leigh-mil
56bc9dd4e5 update components to emit valid on field-change and use in TO form 2019-06-17 12:45:55 -04:00
leigh-mil
5be4efb9d9 Reimplement SaveButton disabled until input change 2019-06-14 11:11:24 -04:00
leigh-mil
1e817c6755 Update copy, add totals box, style buttons 2019-06-12 15:29:47 -04:00
dandds
e6fd32f612 phone number should be optional on add new portfolio member form 2019-03-26 15:46:48 -04:00
George Drummond
e608d7d21b
Merge pull request #650 from dod-ccpo/valid-decimals
Form fixes
2019-02-14 15:25:47 -05:00
George Drummond
e3939dfd09
Form fixes 2019-02-14 10:31:04 -05:00
Montana
d5a14d5ed6 Prevent page from shifting downward when validation error shows 2019-02-14 09:01:04 -05:00
leigh-mil
87905c07f4 Add validation for textInput on blur 2019-02-12 15:41:51 -05:00
leigh-mil
3b2349d554 Add space in classes and remove unnecessary div 2019-01-25 11:24:08 -05:00
leigh-mil
2c0018dba0 Add blue background to officers DoD ID field 2019-01-24 11:22:31 -05:00
Montana
41e6500ddd Use v-cloak for all TextInputs 2019-01-23 13:40:36 -05:00
George Drummond
aef2fbe180
Hide tooltip when CLIN field is disabled 2019-01-21 09:47:00 -05:00
leigh-mil
74ab102891 Update TO section for Oversight 2019-01-11 15:57:47 -05:00
leigh-mil
922ec56134 Update TO funding section 2019-01-11 15:57:47 -05:00
Patrick Smith
b3cdfd730d Don't show success/error icon on disabled fields 2019-01-08 18:21:11 -05:00
George Drummond
a64c543b2f
Remove unused declaration 2019-01-07 15:31:37 -05:00
George Drummond
99f34fe45a
Disable CLIN fields via a config option 2019-01-07 14:25:03 -05:00
richard-dds
6345a06e54 More validation fixes 2018-10-23 14:42:05 -04:00
Patrick Smith
0e33755ef7 Set initial value when field data is not None 2018-09-25 13:39:59 -04:00
Andrew Croce
060833ea73 Always use the front-end validation message 2018-09-21 08:28:00 -04:00
Andrew Croce
19e80cd183 add noMaxWidth, label and description overrides to text input 2018-09-14 11:39:42 -04:00
dandds
59fdad8554 use regular WTForms DateField for requests dates 2018-09-04 16:15:36 -04:00
luis cielak
cda585c3a3 Update validation icon placement and placeholders 2018-08-15 10:49:48 -04:00
luisgov
b4b7d0cbcb
Merge branch 'master' into ui/tooltips 2018-08-13 15:26:04 -04:00
luis cielak
7db1ac5d86 Change text_input to option_input 2018-08-13 15:16:46 -04:00
luisgov
143c58addc
Merge branch 'master' into ui/tooltips 2018-08-13 15:05:08 -04:00
luis cielak
88092a7892 Adjust tooltips for accessibility 2018-08-13 14:13:47 -04:00
luis cielak
23ae914211 Apply validation colors to correct icons 2018-08-13 13:17:21 -04:00
luis cielak
65207a480d Set label text displayed block with the tooltip 2018-08-13 13:10:18 -04:00
Patrick Smith
7b01e5b8a3 Add keys to inputs to prevent Vue from re-using elements 2018-08-13 11:28:41 -04:00
Andrew Croce
c261c445d6 fix error rendering 2018-08-10 15:47:28 -04:00
luis cielak
51185d16f0 Strip out html from label 2018-08-10 13:50:34 -04:00
Andrew Croce
cb4f1281d3 bind aria-invalid correctly 2018-08-10 13:36:53 -04:00
Andrew Croce
8659132989 Add front end validation error messages 2018-08-10 09:18:09 -04:00
Andrew Croce
db1dd062ee Fix input validations 2018-08-10 08:58:31 -04:00
luis cielak
a9be4665ce Begin adding tooltips to req form fields 2018-08-09 15:54:27 -04:00
luis cielak
e981ef917a Place error icon next to text input box 2018-08-09 15:54:27 -04:00
luis cielak
cb2b9faa42 Render error message with proper color for input text 2018-08-09 15:54:27 -04:00
luis cielak
f365b18acd Render error validation message with proper color 2018-08-09 15:54:27 -04:00
luis cielak
a29e7895bf Style form labels for inputs correctly 2018-08-09 15:54:27 -04:00
Andrew Croce
1b2e091a69 get rid of duplicate class declaration 2018-08-09 14:26:45 -04:00