leigh-mil
e4f23a583e
Move cookieName into a variable
2020-02-10 12:12:58 -05:00
leigh-mil
a9d26d26e6
Prevent double submitting forms when Save buttons are double clicked
2020-02-07 14:28:44 -05:00
leigh-mil
8e2870b62f
Add max width to CTA footer in the TO builder form
...
- Created a new mixin (ExpandSidenavMixin) that sets the defaultVisible prop that can be used in both the root component and the SidenavToggler. This makes it so that the Root knows whether or not the sidenav is collapsed or expanded, so then child components can use this to calculate margins/paddings/offsets/etc.
- Added new classes for the .action-group-footer that set the elements padding based on whether or not the sidenav is expanded.
- Added a nested div (.action-group-footer--container) inside .action-group-footer which sets the max width
2020-02-04 16:13:07 -05:00
leigh-mil
e32bad0d30
Display TOs grouped by status
2019-12-12 09:40:18 -05:00
leigh-mil
62cdcbe6dc
Remove some leftover 'watch' attributes from Vue components
2019-11-22 09:22:47 -05:00
leigh-mil
04b9250ea1
Create emitter function for field-change event
2019-11-19 14:49:11 -05:00
leigh-mil
bc0382834b
Remove old field-mount and field-change emitters and listeners.
...
Replace FormMixin with new functionality.
2019-11-19 14:49:11 -05:00
leigh-mil
1ecd786857
Update BaseForm and nested vue components to properly use emitters
2019-11-15 17:36:57 -05:00
leigh-mil
d1e1a2a36a
Update TO form and nested components to emit directly to parent components instead of emitting from the root component
2019-11-15 17:35:11 -05:00
leigh-mil
c94570f83e
Update TO form and nested components to emit directly to parent components instead of emitting from the root component
2019-11-14 16:46:35 -05:00
leigh-mil
d142fa974a
Update Form mixin so that you can enable the save button for a form on render
2019-10-31 16:21:32 -04:00
graham-dds
8b0d9fb9d2
Create text input mixin
2019-09-12 16:11:12 -04:00
leigh-mil
41f21ad830
Use variable to make canSave clearer
2019-07-18 14:59:56 -04:00
leigh-mil
90b057d0b2
Merge two sets of props in form mixin vue component
2019-07-18 14:57:50 -04:00
leigh-mil
72d274c1f8
Add canSave to the form mixin to toggle whether or not the Next button is disabled
2019-07-18 13:29:41 -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
richard-dds
a6c015753a
Fix wonky form validation
2019-06-13 13:27:32 -04:00
richard-dds
31d95e51bc
Require defense component input before showing Save button
2019-06-12 16:10:10 -04:00
George Drummond
b9c0f13228
Fix modal freezing fix
2019-06-04 09:55:57 -04:00
George Drummond
951ef9212d
Fix issue with CLIN changes not updating funding total
2019-05-10 13:16:08 -04:00
dandds
457b1f9523
Detangle the MultiStepModalForm modal-open link from the modal.
...
In order to place modal forms in other places on the page (so that forms
are not nested) it's necessary to move MultiStepModalForm links out of
the component. They just need to refer to the correct modal.
This PR also makes changes to ensure that the active modal is being
unset everywhere correctly when a modal is closed.
2019-05-08 11:16:56 -04:00
Montana
416ea1de82
Watch for changes on the options input, which is a grandchild of base-form
2019-05-06 15:16:48 -04:00
George Drummond
334f3d8ed3
Move js to form component
2019-05-03 14:48:27 -04:00
leigh-mil
1e6d26de82
Emit event from root when modal closes
2019-04-10 07:42:07 -04:00
leigh-mil
85c99182f7
Refactor modals so they work when nested in other components and fix BaseForm so it doesn't repeat ModalMixin logic
2019-04-08 09:42:35 -04:00
leigh-mil
850153a517
Change variable names to be clearer
2019-04-06 16:57:12 -04:00
leigh-mil
1aaf4421ab
Remove unnecessary savebutton vue component and create SaveButton Macro
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
leigh-mil
3ece7b4c89
Add vue component for save button and integrate into FormMixin
2019-04-06 16:57:12 -04:00
dandds
35b87ff091
set cookie for sidebar preference
2019-02-11 13:52:18 -05:00
George Drummond
619bc9fe59
Prettier format all js files
2019-01-24 09:38:43 -05:00
Andrew Croce
c0719ce85f
maintain focus on open modals
2018-10-18 10:01:07 -04:00
Montana
95d826be09
All modals use activeModal
2018-09-25 11:13:23 -04:00
Montana
c0bb9e1024
Modal for each environment role
2018-09-25 11:13:22 -04:00
Andrew Croce
27b03eea04
Emit and respond to a modalOpen event, which conditionally adds a class to the body
2018-09-20 13:45:16 -04:00
luis cielak
fbffc41cb6
Rename modal and remove dismiss functionality
2018-08-27 14:39:47 -04:00
Patrick Smith
b8a983f4dc
Use form mixin for add field change handler
2018-08-23 16:51:09 -04:00
Patrick Smith
180cedf6db
Add global mixin for modal
...
This allows the modal to be used anywhere in the component hierarchy,
rather than requiring it to be in the top level.
2018-08-23 16:15:35 -04:00