<p dir="auto">I have seen that you close another issue related to this one about including prompt as an option inside your API to show dialog. I don't know why is the reason to discard this basic function, but I think you should reconsider it because it's a basic feature that make you discard this API or use different API to fulfill your needs.</p>
<p dir="auto">Please, introduce an option to prompt a value to the user in the dialog API.</p>
<p dir="auto">Thx,</p>
<p dir="auto">What is the reason that <code class="notranslate">prompt</code> is <a href="https://github.com/atom/atom-shell/blob/516d46444dc88325b82ae016a9f56d66d247b599/atom/renderer/lib/override.coffee#L53">not supported</a>?</p>
<p dir="auto">How could input box be created?<br>
I see that prompt could be almost like <code class="notranslate">confirm</code>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="window.confirm = (message, title='') -&gt;
  remote = require 'remote'
  dialog = remote.require 'dialog'
  buttons = ['OK', 'Cancel']
  not dialog.showMessageBox remote.getCurrentWindow(), {message, title, buttons}"><pre class="notranslate"><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">confirm</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">message</span><span class="pl-kos">,</span> <span class="pl-s1">title</span><span class="pl-c1">=</span><span class="pl-s">''</span><span class="pl-kos">)</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span>
  <span class="pl-s1">remote</span> <span class="pl-c1">=</span> <span class="pl-en">require</span> <span class="pl-s">'remote'</span>
  <span class="pl-s1">dialog</span> <span class="pl-c1">=</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-c1">require</span><span class="pl-kos"></span> <span class="pl-s">'dialog'</span>
  <span class="pl-s1">buttons</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-s">'OK'</span><span class="pl-kos">,</span> <span class="pl-s">'Cancel'</span><span class="pl-kos">]</span>
  <span class="pl-s1">not</span> <span class="pl-s1">dialog</span><span class="pl-kos">.</span><span class="pl-c1">showMessageBox</span> <span class="pl-s1">remote</span><span class="pl-kos">.</span><span class="pl-en">getCurrentWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>message<span class="pl-kos">,</span> title<span class="pl-kos">,</span> buttons<span class="pl-kos">}</span></pre></div>
<p dir="auto">Here is <a href="https://github.com/electron/electron/issues/472#issuecomment-143433593" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/472/hovercard">possible solution</a>.</p>