Comments (8)
Having this issue as well
from electron-prompt.
Sorry, I will just close this as I made a home-rolled HTML prompt in the meantime. Probably some weird issue on my end. :)
from electron-prompt.
I had the same problem. I solved mine by using
window.require('electron-prompt')
instead of
require('electron-prompt')
from electron-prompt.
I'm not sure, I just tried latest 1.3.0 on OSX 10.14.3 with node v11.7.0 without issue, try to spawn the devtools of the created browserWindow to diagnose what's going on
from electron-prompt.
Same
from electron-prompt.
Same. I have error in dialog window
Not allowed to load local resource: file:///Users/Alex/Develop/play-shiki-app/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/page/prompt.html#1576308387511-0.7777359584319303
from electron-prompt.
I'm facing this as well on Mac OS Catalina. Completely white. I'm trying to use it from the main thread (not a renderer thread).
from electron-prompt.
I'm using this this on main thread to performance a login before creating a browser window. But everything is empty
app.on('ready', async () => {
const password = await prompt({
title: 'Login',
label: 'Password',
value: '',
inputAttrs: {
type: 'password'
},
type: 'input',
});
});
from electron-prompt.
Related Issues (20)
- electron-prompt cannot be used if I compile a exe program
- Error: Image could not be created from \n HOT 2
- Suggestion : Allow 'minimizable' for BrowserWindow in opts HOT 1
- Include a LICENSE file at the root of the repo HOT 4
- Validate form on Enter/return key pressed HOT 5
- Feature Request: allow creating an inescapable prompt HOT 1
- If you're using this in electron-react-boilerplate...
- Prompt window closes immediately for some Linux users HOT 2
- Preview electron-prompt HOT 2
- Label and Input issue HOT 3
- ERR_FILE_NOT_FOUND (-6) loading HOT 1
- [feature request]Add a 'swapButtons' option
- Add typescript support? (`d.ts` file) HOT 2
- Use `@electron/remote` instead of importing it from `electron` as it will be deprecated in Electron version 14 HOT 5
- testing example prompt: label and input field not displayed, cancel and ok buttons unstyled HOT 2
- Issue with promise HOT 1
- Add support for MacBook's touchbar
- Using a single JS file to do the prompt
- Can't make it work with Electron 19
- [feature request] Multi prompt for example having 2 or 3... input forms
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-prompt.