-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Range widget with spinner/picker appearance #105
Comments
Comment by mitchellsundt
Reported by |
Comment by mitchellsundt Reported by
|
Coming back to this because it's related to #38. This seems like a nice thing to do but unfortunately, I don't think it can be something simple like just an |
I think we should aim for a @dcbriccetti is working on support in JavaRosa (getodk/javarosa#44) and has setup a basic wrapper on top of that at #938. Then we can add a How does that sound? |
There's some agreement on appearances at the spec level here: getodk/xforms-spec#111 |
@grzesiek2010 was asking in another conversation about integer vs decimal For example, Similarly, @grzesiek2010 does that give you enough info to work with? I think basically you'll have to think carefully about the different cases in There might be a follow-up question about validation. What happens with something like: ...
<instance>
<data>
<data1>3.14159</data1>
</data>
</instance>
<bind nodeset="/data/data1" type="xs:integer" />
...
<body>
<range ref="data1" start="1.6" end="5.3" step="0.5" incremental="true">
<label>Data1: </label>
</range>
...
</body> Note that the bind says it's an integer but the default and the start/end/step are all decimals. For a simple numerical widget, what happens when the bind type is |
@lognaturel to answer your question it's not a problem if we use |
Issue by mitchellsundt
Thursday Jul 09, 2015 at 19:28 GMT
Originally opened as getodk/getodk#877 (2 comment(s))
Originally reported on Google Code with ID 876
Reported by
james.beard.tz
on 2013-07-21 03:04:43The text was updated successfully, but these errors were encountered: