question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quick entry select field bug

See original GitHub issue

Expected Behaviour

When opening a quick entry dialog, I have a select field. In this select field users can choose Yes or No. This is working so far.

If a user leaves the dialog without any action, for example by pressing escape, and opens it again, the select field should simply appear again with the same options => Yes or No.

Actual Behaviour

The select appears without options, even in the source code in the developer tools. It seams, that for some reason, Frappe removes the options.

Steps to reproduce:

  1. Create a quick entry dialog with a select field with for example two options. Open it.

image

image

  1. Everything good so far. Now press escape to dismiss the dialog. Open it again. You can’t choose Yes or No.

image

Here is the source code in the state, when it stops working:

<select type="text" autocomplete="off" class="input-with-feedback form-control bold" maxlength="140" data-fieldtype="Select" data-fieldname="happy" placeholder="" data-doctype="Doc">
</select>

Frappé version: 8.10.9

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ci2014commented, Oct 23, 2017

You’re amazing! I didn’t expect this to be the cause. Thank you very much.

0reactions
shreyashah115commented, Oct 23, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome bug on select element dropdown when many options ...
More exactly, when you click on the "select" input field, the browser open a list with a number of rows that is equal...
Read more >
Error 'bad value for restricted picklist field' appears when a ...
All record types should have the newly create picklist selected in the Selected items section and not under available items. Initiate a Mass...
Read more >
Troubleshoot bookmarks - Microsoft Support
Under Show document content select Show bookmarks and click OK. Word Options ... If the field name isn't spelled correctly, you might get...
Read more >
Fixes or workarounds for recent issues in Outlook for PC
Select Rename, and rename the new group to Arrange. In the Choose commands from column, select All Commands. Scroll down to Arrange By,...
Read more >
Video: Drop-down list settings - Microsoft Support
Training: You can use a comma-delimited list, a cell range, or a named range to define the options in a drop-down list. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found