How to select text in AlertController

Hello everyone

I just want select text from AlertController to can COPY (ctrl + c)

home.ts

async res =>{
        await loading.dismiss()
        const alert = await this.alertController.create({
          header: 'Register Code',
          message: `Code : <strong>${res['code']}</strong>`,
          buttons: ['OK'],
          cssClass : 'TextSelectable'
        });
        await alert.present();
      }

home.scss

.TextSelectable{
    user-select: text;
}

but I can’t

You need to put the class TextSelectable in global.css, and add !important at the end.

.TextSelectable{
user-select: text!important;
}