Comments (5)
This should be possible to fix now with the new methods on HYPFormsManager that can retrieve hidden fields too.
from form.
HYPFormsManager
- (NSArray *)updateTargets:(NSArray *)targets withEnabled:(BOOL)enabled
`if ([self.hiddenFieldsAndFieldIDsDictionary objectForKey:target.targetID]) continue;`
from form.
This seems to be a current issue. Can you confirm?
from form.
@jeffleeismyhero is an issue as far as I know
from form.
Targets defined in hidden fields will fire with the change displayed below IF I switch to readonly and then back to readwrite.
The updated updatedIndexPaths
array remains empty throughout. It would seem
Reference JSON:
{
"groups":[
{
"id":"hidden_targets",
"title":"Hidden Field Targets",
"sections":[
{
"id":"hidden_targets_section",
"fields":[
{
"id":"visible_quantity",
"title":"Quantity",
"info":"Displays 'hidden_quantity' value",
"type":"float",
"value":0,
"size":{
"width":20,
"height":1
},
"formula":"$hidden_quantity"
},
{
"id":"hidden_quantity",
"title":"Secondary Quantity",
"info":"Multiplies 'adjustment_field' by 2 and updates 'visible_quantity'",
"type":"float",
"value":0,
"size":{
"width":20,
"height":1
},
"formula":"$adjustment_field * 2",
"targets":[
{
"id":"visible_quantity",
"type":"field",
"action":"update"
}
],
"hidden":true
},
{
"id":"adjustment_field",
"title":"Adjustment",
"type":"count",
"value":1,
"size":{
"width":20,
"height":1
},
"targets":[
{
"id":"hidden_quantity",
"type":"field",
"action":"update"
}
]
},
]
}
]
}
]
}
from form.
Related Issues (20)
- Feature Request: Consider adding standard UITextView field type HOT 1
- Feature Proposal: Show validation error message beside form field title HOT 9
- Feature Request: Allow custom input validator HOT 8
- How does one subscribe a custom cell's FORMBaseFieldDelegate to the conforming class FORMDataSource? HOT 1
- Use case difference between Sections and Fields HOT 5
- Dynamic Buttons HOT 3
- [Question] How does your GroupHeaders keep track of their collapsed state upon dequeue? HOT 8
- How to create form templates which creates JSON? HOT 11
- Do the Form support multiple checkboxes? HOT 5
- Add tests for Hidden field order #571
- How do I choose id for each element? HOT 1
- NSInternalInconsistency exception when attempting to process FORMTarget HOT 1
- Swift Syntax Error HOT 1
- FORMFieldValuesTableViewController navigation bar title color change
- Segment get unselected when combined with Show target HOT 2
- Show/Hide group HOT 7
- Memory leaks in demo project (and so in projects using the lib)
- Potential memory leaks in Model layer
- View transition bug when keyboard show, only in iOS 11 HOT 7
- Multiselect support HOT 5
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 form.