Skip to content

Add odk:tick-interval and odk:placeholder attributes to range #337

@lognaturel

Description

@lognaturel

The odk:tick-interval attribute on the range control element specifies the spacing between tick marks along the slider track. When present, its value MUST:

  • be non-zero
  • have an absolute value that is an exact multiple of abs(step)
  • be less than or equal to abs(end - start)

If any of the conditions above are violated or the no-ticks appearance is specified, clients MUST ignore odk:tick-interval

The odk:placeholder attribute on the range control element defines the value at which the slider is displayed when the question's value is blank/null. Its value must be between start and end, inclusive, and MUST align with a step increment from start. If it is not, clients MUST ignore the value.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions