stfcodes / ember-do-forms Goto Github PK
View Code? Open in Web Editor NEWember-do-forms handles the icky parts of forms that you don't want to, and leaves the rest to you.
License: MIT License
ember-do-forms handles the icky parts of forms that you don't want to, and leaves the rest to you.
License: MIT License
The do-fields
component would allow the usage of do-form
subcomponents with the do-form
semantics and without the form logic.
After updating our application from ember 3.5 to 3.8 many of our component integration tests started failing Assertion Failed: You cannot specify both a positional param (at position 0) and the hash argument 'controlType'.
After looking into it, I discovered the one thing those components had in common was that they use ember-do-form components. I still haven't identified any documented relevant changes in Ember itself between 3.5 and 3.8, but the the components in this addon use positional params and also have controlType
.
Has anyone successfully used this addon w/ Ember 3.6+?
I have been using this addon for a while now and I have found it very easy to customize to do whatever craven thing our designers come up with.
But I am stumped on this one. I have a custom validator (ember-cp-validations) that validates that the username the user typed is available and returns a message with an alternative suggestion if it is not. I would like that validator to validate eagerly - show the message as you type. I see that the validator is validating eagerly but the dp-feedback
component doesn't display the message until you focusOut
.
Any suggestions for how to accomplish this? Thanks!
With global and inline configuration this addon supports a variety of css frameworks. Even when something is not supported, it can be relatively easy to extend to support (for example #2).
It would be nice to have theming support out of the box for:
Branch | Build failing 🚨 |
---|---|
Dependency | ember-cp-validations |
Current Version | 3.3.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ember-cp-validations is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
The new version differs by 4 commits0.
ccbd85a
Released v3.3.2
ce670c3
[BUGFIX] Ember Data 2.13 Nested Key Destroy (#505)
0d2261a
Updated typo on example of validations (#503)
855b50c
Remove badges from readme
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
READMEs are great, but interactive example pages are greater.
Currently the code is undocumented and there's a mixture of public / private obscure stuff.
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files, so that was left aloneIf you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | ember-cli-htmlbars |
Current Version | 1.3.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
ember-cli-htmlbars is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪
The new version differs by 4 commits0.
b46eb48
v1.3.1
f0c03ec
Merge pull request #109 from ember-cli/use-non-deprecated-version-checker-api
faf7f25
Add yarn.lock.
1b27f67
Update ember-cli-version-checker use to avoid deprecated APIs.
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Hi,
there is problem with displaying object with boolean
field through do-control
component as it uses and sets value
, but for checkbox it should use checked
property.
Therefore I have to set up something like:
{{#do-form model submit=(action 'update' model) as |form|}}
{{#form.do-field 'hasName' as |f|}}
{{f.do-control 'checkbox' checked=model.hasName}}
...
which is very inconvenient. I wonder if there is a workaround?
Thanks.
It would be nice to be able to also extend the form classes.
For example, Semantic UI error messages only show up if the form itself also has a class of ui form error
.
Thanks!
There should be an option to auto-generate the data-test-*
attributes for form elements to reduce boilerplate in templates.
This option should default to false
for the moment.
Branch | Build failing 🚨 |
---|---|
Dependency | loader.js |
Current Version | 4.4.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As loader.js is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
The new version differs by 7 commits.
094e20b
release v4.5.0 🎉
db2f6a6
Merge pull request #126 from ember-cli/moduleId
204838b
rename mod.name => mod.id
4fa0fe0
add require.moduleId to allow a module to know its ID
f62bc54
Merge pull request #121 from ember-cli/define-exports
d963886
Update README.md
928e18f
add define.exports
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Textarea: cols
, wrap
.
Other controls: form
.
Pretty sure others are missing too the minimum should be required
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.