#Dialog not working

14 messages · Page 1 of 1 (latest)

vale tapir
#
 import { message } from "@tauri-apps/plugin-dialog";
const CommandButton = document.getElementById("ConnectButton")

CommandButton?.addEventListener(`click`, async (event) => {
  event.preventDefault();
  await message('Connecting to server', { title: 'Att mod panel', kind: 'info',  });
})``` pressing the button does not make the dialog appear but does work with anything else
unborn mica
#

what do you see in the web dev console

vale tapir
#

this is all

unborn mica
#

no the other console

#

right click > inspect element > console

vale tapir
#

nvm I see

unborn mica
#

does it work?

vale tapir
#

building rn

#

yup👍

unborn mica
#

mark as solved

#

/solve

vale tapir
#

done

#

thanks