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