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.

Support 'empty' for select inputs

See original GitHub issue

I am trying to display a inline-editor of type select to edit entities with missing values. I need the dropdown to display even when the value of the bound ngModel does not exist within the options data collection. This seems to work well for type text where it displays the link of empty if it is empty. Similar functionality should be added to select. As of now you can’t edit select field unless it has a matching option value.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
peloncanocommented, Sep 22, 2016

@Caballerog thanks for removing the console.logs! Hoping to see the In Progress features completed in the near future! 👍

1reaction
bmuddacommented, Sep 22, 2016

@Caballerog thanks for the fix and update. This is a really great module.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should a blank option always be included in <select> inputs?
As you have suggested, I would recommend in the instance of a required field, that you don't have the "please select" option when...
Read more >
Check if inputs and select is not empty and enable button
The goal to check if any of this fields has content (such as input is not empty, and select has options selected). I...
Read more >
Ignoring empty select-option inputs - SAP Community
Hi all, Have 3 input select options as follows: select-options: so_retnr for vbak-vbeln. select-options: so_matnr for mara-matnr.
Read more >
<select>: The HTML Select element - HTML - MDN Web Docs
This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can...
Read more >
.empty() | jQuery API Documentation
Description: Remove all child nodes of the set of matched elements from the DOM. version added: 1.0.empty(). This method does not accept any...
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