markcellus / form-js Goto Github PK
View Code? Open in Web Editor NEWEasily create web forms. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.
License: MIT License
Easily create web forms. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.
License: MIT License
Due to time, wasn't able to write unit tests for clear() methods. Within the next hour or so... need this for a release in meantime.
Firefox throws an "NS_ERROR_UNEXPECTED" error when trying to call .setValue() on a dropdown that is disabled, pointing to https://github.com/mkay581/formjs/blob/1.9.2/src/dropdown.js#L609
Should we assume that if you call .setValue() on a Dropdown, you're intending to enable it?
Currently input field class temporarily sets input field's placeholder attribute value as the input's value (blame IE9) to ensure placeholder support for IE9. So when running .getCurrentValues(), it returns the placeholder values.
clicking on ui option, and then clicking on another ui option in some other place in the same form, does not close first ui options.
overflow:hidden
style is applied on the "dropdown wrapper", it does not hide the "dropdown options container" as intended due to the browser not re-rending the element with the new overflow:hidden
style.There is a fix for this in CSS here, but may be useful to implement a JS fix in this package.
Sources:
http://stackoverflow.com/questions/3485365/how-can-i-force-webkit-to-redraw-repaint-to-propagate-style-changes
http://mir.aculo.us/2009/01/11/little-javascript-hints-episode-3-force-redraw/
http://www.phpied.com/rendering-repaint-reflowrelayout-restyle/
If dropdown in markup has a 'disabled' attribute, initializing the Dropdown class doesnt add the first option item to the ui dropdown value display.
Uncovered in: https://github.com/AKQADC/BSW-Institute-Franchise/pull/126
Lets halt the setup function and show a warning to user
Make so that "underscore" and "element-kit" dependencies are automatically included in forms built file
Now we can upgrade code to use latest ES since build tools bundling supports latest spec.
Add so that when the Form class is instantiated on a <form>
element, it will instantiate all necessary sub-classes.
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.