This commit is contained in:
2019-11-27 19:34:57 +00:00
parent a40309f8cb
commit be4bb672b7
4 changed files with 5 additions and 7 deletions

View File

@@ -45,13 +45,7 @@ CURRENT ROADMAP
CURRENT TODOs
=-=-=-=-=-=-=
TODO: What is the default value for time with a date only picker and date for a time only picker? Date picker and time picker were copied from dateAndTime picker and seem to be retaining the full date and time when they should really only have a single part or is that wrong?
- i.e. Date picker is still accessing the time and factoring it in and Time picker is still using the date
- DateOnly method used in time picker and timeonly method used in datepicker when setting the value
- What is the scope of the data usage going to be?
- Will I need to report on a time only custom field?
- What is it in v7 right now, a full date and time value or ...?
- Theoretically the unused part is really unnecessary but these things have a way of being necessary later so think about it now and refer to v7 as a helpful reference
TODO: In a few places in my own components I'm emitting multiple events for changes when possibly it should just be one
- Determine which events are being emitted in custom controls

View File

@@ -241,7 +241,9 @@ export default {
//emit the new data so it syncs with the parent source
var ret = JSON.stringify(cData);
//THis is absolutely required no idea why though
this.$emit("update:value", ret);
//this.$emit("input", ret); //always in UTC
//this triggers the onchange routine in the parent form
//so that the dirty checking works
this.$emit("change", ret);

View File

@@ -36,6 +36,7 @@
</template>
<script>
/* Xeslint-disable */
//******************************** NOTE: this control also captures the TIME even though it's DATE only, this is an intentional design decision to support field change to date or date AND time and is considered a display issue */
export default {
beforeCreate() {
//debugger;@input="dlgdate = false"

View File

@@ -35,6 +35,7 @@
</template>
<script>
/* Xeslint-disable */
//******************************** NOTE: this control also captures the date even though it's time only, this is an intentional design decision to support field change to date or date AND time and is considered a display issue */
export default {
beforeCreate() {
//debugger;