No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Use no caps on notify actions label

    Help
    1
    2
    311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PeterQF
      PeterQF last edited by

      Hi guys, i don’t like capital letters on buttons so i use “no-caps” but how can i do this on notify actions label?

      this.$q.notify({
                message: this.$t('general.cookieAccept'),
                color: 'orange',
                multiLine: true,
                icon: 'announcement',
                actions: [
                  { label: this.$t('general.cookieAcceptRead'), color: 'white', handler: () => { this.$router.replace('/error') } },
                  { label: this.$t('general.cookieAcceptYes'), color: 'white', handler: () => { cookieInstance.set('cookie-accept', 1) } }
                ]
              })
      
      1 Reply Last reply Reply Quote 0
      • PeterQF
        PeterQF last edited by

        Now i use:

        .q-notifications .q-btn
          text-transform: none
        

        in sass file but is there a more “correct way” to do this?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post