@gvorster Thanks for help! Will try it after while.
Posts made by nobilik
-
RE: Trying to install Google Analytics. Very confused!
-
RE: Custom variables added to quasar.variables.sass seem to be ignored
@thibautguedou3 OMG! I was doing the same, but colons were forgotten
Thanks!
-
RE: Custom variables added to quasar.variables.sass seem to be ignored
@Hawkeye64 Changing default variables works well. But where to define .bg-my_color class to be accessible globally? If I define classes in my index.vue
<style lang="scss"> .text-brand { color: $brand; } .bg-brand { background: $brand; } </style>
it works
-
RE: Trying to install Google Analytics. Very confused!
@gvorster could you please write step-by-step instruction? I canāt understand what Iām doing wrongā¦
-
RE: Custom variables added to quasar.variables.sass seem to be ignored
Hi! Did you find a solution? Iāve the same problem
-
RE: Trying to install Google Analytics. Very confused!
@gvorster Hi! And where you put gtm.js component? It gives me an error that ādataLayerā is not defined. Iāve already post my question about, but nobody wants to speak with me
However, Iām already solved this withvue-gtm
module, but just want to understand. Thanks -
Add Google Tag Manager to SPA. Quasar 1.3.+
Hi! Iām trying to use this manual, but it seems outdated. Or I just canāt understand how to
Add a file src/components/gtm.js
. Shouldnāt it be a.vue
file in components folder? Please help me with adding GTM. -
RE: [SOLVED] Can't set data () inner value by one of method
@metalsadman Thanks, getprofile inside first then do the job
-
RE: [SOLVED] Can't set data () inner value by one of method
@s-molinari I think you didnāt see data: {} inside data ()
-
RE: [SOLVED] Can't set data () inner value by one of method
@s-molinari but why? first upper one works this wayā¦
-
[SOLVED] Can't set data () inner value by one of method
Hi! Here is part of my scripts:
export default { name: 'Login', data () { return { data: { body: { email: '', password: '', rememberMe: false, auth: { profile: {} <---- ****This is a problem one**** } } }, isPwd: true, loading: false } }, methods: { auth (network) { this.$hello(network).login({ scope: 'email', auth_type: 'rerequest' }) .then((res) => { this.data.body.auth = res['authResponse'] <---- Here everything is ok }) this.getProfile(network) this.$auth.socialLogin(this.data) .then((response) => { this.$router.push({ path: '/account' }) }) .catch((error) => { if (error.response) { if (error.response.status === 401) { this.$q.dialog({ message: this.$t('auth.login.verification_required') }) } else if (error.response.status === 403) { this.$q.notify({ message: this.$t('auth.login.invalid_credentials') }) } else { console.error(error) } } }) }, getProfile (network) { this.$hello(network).api('me') .then((res) => { console.log(res) <---- Here I can see expected json this.data.body.auth.profile = res <--- And here is something wrong console.log(this.data) <--- No profile inside ((( }) },
I have problem with populating of profile. I mark everything in my code. What Iām doing wrong? Thanks for help!
-
[SOLVED] toggle password with Quasar v1
Hi! Canāt find how to toggle password visibility and change icon.
<q-input bottom-slots filled v-model.trim="$v.password.$model" label="Pass" type="password" lazy-rules :rules="[ val => $v.password.required || 'required', val => $v.password.minLength || '6 symbols' ]" > <template v-slot:prepend> <q-icon name="fas fa-lock" /> </template> <template v-slot:append> <q-icon class="cursor-pointer" name="fas fa-eye-slash" @click="onTogglePassword (e)"/> </template>
Help, please