begedin / ember-select-list Goto Github PK
View Code? Open in Web Editor NEWA select dropdown component for ember
License: MIT License
A select dropdown component for ember
License: MIT License
I have a scenario where I would like to be able to reset a select-list
to its "prompt" state.
I would have expected changing the passed in value
to undefined would do this. What do you think? If this is desired behaviour I can put together a PR for it...
I'll open a pull request with a fix.
Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: XXXX -> ember-cli-data-export -> ember-cli-babel
I actually tried to work on this but I ran into too many issues trying to upgrade to a more recent ember version.
This prevents the select
s from being focusable via keyboard.
It turns out that when prompt
is specified, in order for the select
to actually be considered invalid, the option
must have its value
set to ""
.
See this pen for example; when there is value=""
on the prompt, the form submits; but when value=""
is removed, the form does validation as expected.
I can make a PR, but the change is really quite trivial.
Edit: disabled
does not affect the form validity.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.