Releases: kingscode/vuetify-resource
1.0.0 Lazy loaded forms
As of this release the forms will only be loaded when the dialog is opened.
Before this release most of the times a lot of logic was placed in the beforeOpenUpdate
and beforeOpenCreate
methods, this is now no longer necessary!
This change might need the following changes to your code:
migration guide
Vue reference on form components no longer work in the beforeOpen methods
Because the form components are no longer preloaded the component is not available in the beforeOpen methods.
A commonly used example is code that looks like this:
beforeOpenCreate() {
this.$refs.createForm.clear();
},
You can remove this line this.$refs.createForm.clear();
and if it's the only code in the method remove the whole beforeOpenCreate
method.
Try using your form component's data and created method instead of the beforeOpen callbacks
For example this:
// resource.vue
beforeOpenCreate() {
this.createForm.values.model_type_id = 1;
},
could be converted to:
// form.vue
data() {
return {
values: {
recognition_type_id: 1
}
};
},
And for more complicated things like object mapping you could do this in the created
method.
0.8.2 remove hotfix from 0.8.1
Merge remote-tracking branch 'origin/master'
0.8.1 hotfix, row-click was also triggered when clicking on a crud action
THIS RELEASE DOESN'T WORK! USE 0.8.0 OR 0.8.2 (THOSE ARE THE SAME)
0.8.0 Total items and row click's
Added total items in paginated as "from x till y of z" which is also changeable in the texts prop
added a row click event for making it possible to add an action to a row click
Version 0.7.4
Hotfix
0.7.3. Bugfix for small screens, it stops crudactions from overlap
0.7.2. html inside tooltips
Merge pull request #50 from kingscode/HIT-334 Removing hash from url when canceling an update
0.7.1 hotfix for checkbox his th width
new version
0.7.0 tooltips, delete confirmation, columntypes and canDelete prop per table row
0.6.3. hotfixes for column width
new version