Comments (9)
Thanks for this investigation @lynchem
Removing the id is of course not an intended behaviour at all. I will get to the bottom of this and inform you, once it's fixed and added to the PR.
from meteor-autoform.
thank you @lynchem is this the correct repo: https://github.com/Eonasdan/bootstrap-datetimepicker ?
Do you activate the modal during the form using a custom mechanism or this part of the mentioned repo? Once I get a reproduction I can fix it asap.
from meteor-autoform.
Nothing to do with the datetimepicker repo AFAIK and yes, that's the correct repo.
Actually, thinking about it a bit more, this is most likely an issue in how the plugins interact with AF. So in this case there's an atmosphere package https://atmospherejs.com/aldeed/autoform-bs-datepicker which should be creating the datetimepicker.
We have a local modified copy of this package (to fix some TZ issues) so I'll look and see if I can figure anything more
from meteor-autoform.
Acutally we have this package also now under the MCP hood: https://github.com/Meteor-Community-Packages/meteor-autoform-bs-datepicker :-) If there is anything causing trouble I could fix that, too. Publishing would be then just a few steps away
from meteor-autoform.
Right Jan, I'll make a mental note - I should always start with the simplest thing that could be going wrong. 😄
When you create a control like this:
{{> afQuickField id="disbursement-paid-date" name='date'}}
It seems in v7 is replaces the id leaving you with
where it used to leave that alone and you'd have
I'm guessing I'm not alone in having using the id= field occasionally to reference a control so might be a good idea to leave that as it was. Or add it to the breaking changes. It's simple enough to fix.
I'll change the name of the issue to reflect this.
from meteor-autoform.
Hi @lynchem I found and fixed this issue. It has been removed during the rewrite. I reversed this but at the same time also support the id setting mechanism that @pouya-eghbali has introduced. Can you verify it's working now using a local copy of the v7-dev branch? Alternatively I could also publish another rc version.
from meteor-autoform.
Great. Would be handy if you can publish it. I'll try have a look over the weekend
from meteor-autoform.
Published as 6.4.0-rc.7.0.1
, you need to set the version explicitly via aldeed:[email protected]
or it won't be updated.
from meteor-autoform.
Ok, I can confirm it's fixed in 7.0.1 🎉
from meteor-autoform.
Related Issues (20)
- Array of objects set last object fields to null when remove unordered element HOT 6
- Cleanup issues, that are fixed by v7
- Problem with Meteor 1.11.1 Blazejs HOT 5
- Create a native 'autocomplete' type for `afQuickfield` in `AutoForm` that is Bootstrap themed. HOT 1
- Outdated links to SimpleSchema in README
- select-radio and select-radio-inline not working for update HOT 10
- minCount and maxCount undefined inside afEachArrayItem HOT 5
- quickForm and autoForm not displaying - no error messages. HOT 8
- Make moment a weak dependency
- Run a meteor method in before hook and await callback? HOT 4
- Autoform hooks onSuccess not working HOT 13
- Demo link stale HOT 2
- Option list unwanted memory autosave form HOT 4
- Validation messages not showing - SimpleSchema 3.x HOT 4
- Why is there throttling on validateField HOT 2
- Remove global variables HOT 1
- Add coverage report to tests HOT 1
- Please add error/warning messages if no theme is installed HOT 4
- Cross - Posting: Incompatibility with Blaze-Async-PR HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-autoform.