mysterioustrousers / mysforms Goto Github PK
View Code? Open in Web Editor NEWEasy forms for iOS
License: MIT License
Easy forms for iOS
License: MIT License
It would be nice to have cells appear / disappear based on a condition in the model.
Hi there,
since i updated with your last changes to the theming i now get an error when instantiate a theme:
// set a form-wide theme
self.theme = MYSFormTheme()
This drops me an error of: "Cannot assign to theme in self"
Does it mean i should not do this anymore and instead directly assign values to self.theme?
Also now if i leave it out and only directly changing the values from self.theme they seem to be not covered completely? For example i set background color to white but the whole background is now light gray or so.? Or did you change the backgroundColor now?
I need it to be complete white.
I've also attached your example. There's also not the white background anymore...
Thanks much for help and best regards,
Chris
Hi there, please implement the possibility to change the picker view inline height.
Thanks so much and best,
C
Hi there, i really like your MYSForms and i started using it in a project but now i have a question. :)
Is there any possibility to easily receive notifications when any form values changed?
So like that the form always gets submitted automatically with any value changes?
Thanks much for feedback and best regards,
Christian
It would be nice to be able to create cells in sections and show those sections conditionally on a model value.
Hi, we are trying to implement a cell with a textview that sizes itself to the size of the text in the textview.
However, when we call formElement valueDidChange the cell gets reloaded and textview looses keyboard focus.
So we can't call formElement valueDidChange from the UITextView's textViewDidChange delegate method to resize the cell when entering text.
Do you have any tips to accomplish a self sizing cell with a textview?
We've tried stuff like http://stackoverflow.com/questions/25895311/uicollectionview-self-sizing-cells-with-auto-layout but this is something that doesn't seem to run well with MYSForms...
It seems that setting a custom cellClass fails because it's readOnly.
var usernameField = MYSFormTextFieldElement(label: "User ID", modelKeyPath: "username")
usernameField.cellClass = FormTextFieldCell.self
gives me "Cannot assign to 'cellClass' in 'usernameField'"
Or am I doing it wrong in swift?
Edit: I see now that I was using tag 0.0.2...
Problem was fixed by modifying my Podfile to read:
pod 'MYSForms', :git => 'https://github.com/mysterioustrousers/MYSForms.git'
So, the problem will be fixed after creating a tag of the new functionality. For now, I'll be using the master branch....
Hi @atomkirk ,
is there some possibility to change the placeholder string of MYSFormTextFieldElement?
Thanks much for feedback and best regards,
C
Hi there, please implement a possibility to easily "close/collapse" an picker element when selecting another picker element or even click anywhere else in the view.
Because currently when selecting "one" picker element and it's shown, and then select a "second" picker element, both are left open/visible and this takes much of screen size.
Hi there again, i've one more question, is it possible to have the pickerelement displayed normally at the bottom instead of inline?
also when assigning the PresenceValidation to a pickerelement, it's not validating when selected ?
pickerField.addFormValidation(MYSFormPresenceValidation())
it's then always not valid even when selected a value from the picker.?
Thanks much for feedback and best regards,
Chris
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.