turns out that just selecting “.disabled class” is not enough, you also need to match children:
so adding this to css/app.scss works for me.
.disabled, .disabled *{
cursor: auto !important;
}
turns out that just selecting “.disabled class” is not enough, you also need to match children:
so adding this to css/app.scss works for me.
.disabled, .disabled *{
cursor: auto !important;
}
Great, Notify works for me this way. - Thank You!
I just needed the notification at this point.
And yes, updating the app did not work for me either by just doing a forced reloading.
I do have to unregister the serviceworker and afterwards reload the app for a new installation to have all data updated.
Like this:
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
registration.unregister();
}
window.location.reload(true);
});
Of course there might be more elegeant ways, but this worked for me.
I hook in register-service-worker.js and want to display a Notification on update. Whats the best way to display a message to the user by notify?
// register-service-worker.js
...
updated (registration) {
// how to trigger $q.notify('You have an update') on my App?
},
Can i get access to $q from within the updated method. Or should i dispatch an event e.g. on the windows object that i have to capture in some component?
@dobbel
not working if you give q-input a bg-color. see 2.)
I have two simple problems but find no answer:
1.) If i set a q-input to readonly it automatically gets grey, which is fine.
Question: where can i set (globally) this bg color for readonly/disabled q-inputs?
2.) If i set a bg-color to a q-input, the color is NOT changing any more after q-input is set to readonly. So bg-color is overwriting readonly-color.
How to fix this?
thanx in advance!