41 Commits

Author SHA1 Message Date
graham-dds
73a4b669ac class methods for oblig. and contract amount total 2019-09-12 16:11:12 -04:00
leigh-mil
444d256848 Check if field is valid on blur if it is modified and not optional 2019-08-29 12:50:53 -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
montana
d80d8210f9 Handle NaN in obligated amount input properly
- there is some hackiness to the text input portion
2019-06-19 10:42:17 -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
richard-dds
06ea746f38 Formatting 2019-06-13 13:33:15 -04:00
richard-dds
a6c015753a Fix wonky form validation 2019-06-13 13:27:32 -04:00
Montana
97a7d6b205 Remove unused parent_uid references 2019-04-22 10:05:44 -04:00
Montana
629dd674b9 Refactor emitters 2019-04-19 11:49:41 -04:00
Montana
85b6287e0c Emit field's parent uid on mount 2019-04-19 11:49:41 -04:00
leigh-mil
3f2beb44b2 Refactor emit field change into a utility function 2019-04-06 16:57:12 -04:00
leigh-mil
02cc18a93f Add emiter to all input fields 2019-04-06 16:57:12 -04:00
dandds
21a1cc4c1f various small fixes 2019-03-26 17:08:45 -04:00
dandds
ccaad6cbbc cannot go to next new portfolio member page if form invalid 2019-03-26 15:46:48 -04:00
dandds
4987d24bef do not advance multi step modal form unless valid 2019-03-26 15:46:48 -04:00
dandds
e6fd32f612 phone number should be optional on add new portfolio member form 2019-03-26 15:46:48 -04:00
leigh-mil
c70d928b9a Move formatting into onBlur 2019-03-14 13:34:19 -04:00
leigh-mil
7dc27fed1e Trim extra whitespace on blur 2019-02-13 10:50:38 -05:00
leigh-mil
87905c07f4 Add validation for textInput on blur 2019-02-12 15:41:51 -05:00
leigh-mil
63bcae0bd4 Add trailing zeros to cents when focus moves 2019-02-01 13:29:07 -05:00
George Drummond
619bc9fe59
Prettier format all js files 2019-01-24 09:38:43 -05:00
rthoward
c435c36475 Don't showValid if input value is empty 2018-10-11 16:56:12 -04:00
Patrick Smith
9f4663a8d5 Use initial errors as validation error until change is made
This fixes a bug where the "Task Order not found" error was not shown.
2018-09-28 09:48:41 -04:00
Andrew Croce
19e80cd183 add noMaxWidth, label and description overrides to text input 2018-09-14 11:39:42 -04:00
luis cielak
cda585c3a3 Update validation icon placement and placeholders 2018-08-15 10:49:48 -04:00
Patrick Smith
88ede0c696 Emit raw field value instead of masked value 2018-08-13 11:28:41 -04:00
Patrick Smith
90240c19af Emit field change events from root 2018-08-13 11:28:40 -04:00
Andrew Croce
e2821bc676 add a modified var, to allow fields to re-validate when there are existing errors 2018-08-10 14:03:18 -04:00
Andrew Croce
9d1f816002 Make sure initial server-side errors take precedence and invalidate fields 2018-08-10 13:36:07 -04:00
Andrew Croce
4832ecd419 fix mount masking behavior for email fields 2018-08-10 12:42:06 -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
Andrew Croce
86088ac150 some fixes to the input 2018-08-09 13:46:20 -04:00
Andrew Croce
650781c759 add data for field pipe and keepCharPositions 2018-08-08 14:40:17 -04:00
Andrew Croce
6bcf7dee28 No need for 'valid' data
Add name prop, and event emitter for changes
2018-08-08 11:41:27 -04:00
Andrew Croce
375bdc52b8 dont mutate prop directly 2018-08-08 11:13:09 -04:00
Andrew Croce
526b6c7653 textinput vue component 2018-08-08 11:00:23 -04:00
Andrew Croce
b649d17eb8 input validations WIP 2018-08-07 15:43:03 -04:00
Andrew Croce
3f752280f2 trying to add a textinput component 2018-08-07 13:42:29 -04:00