Is the a way to change a exposed filter of the type "text" to "number" so that I can use the step up and down feature from that form element type?

Here is an example.

http://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_number

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bloomt created an issue. See original summary.

Dev1.addweb’s picture

Apply the patch & Select "Number" from Better Exposed Filter settings of particular field. This will change "text" field to "number".

html_5_number_input-2784595-2.patch

Dev1.addweb’s picture

Status: Active » Needs review
riddhi.addweb’s picture

Status: Needs review » Needs work
FileSize
43.08 KB

Hello Deepali,

Here, Your patch works well only for an integer value,if we write or add decimal value in exposed filter.
then it will not search the decimal value as result.
PFA screenshot for the same.

Thanks!

Neslee Canil Pinto’s picture

Status: Needs work » Closed (won't fix)

Hi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).