See http://drupal.org/node/1678914

More stuff needs to be converted to number probably but this is a start :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

Issue tags: +VDC

adding tag

dawehner’s picture

Just in general, do you think it would make sense to convert the options for the filters as well, so if you have exposed filters actual users get a better UI on moderation devices?

aspilicious’s picture

yes that would make sense. I'm not sure how to find all these number textfields. Probably should wait for the annotation stuff

damiankloip’s picture

Yeah, I think this might be another one to wait until we have all the plugins in views 8.x

dawehner’s picture

Regarding #2: Let's not waste work as it is a new feature.

#1321640: Numeric exposed filter form has no validation for required inputs or numeric values is for example an issue to validate the numbers. I'm wondering why the #size is removed in the patch?

aspilicious’s picture

number stuff has a standard size (smaller than old school textfields)

tim.plunkett’s picture

Just a note, I moved that function to views.module to let tests pass, see http://drupalcode.org/sandbox/damiankloip/1685040.git/commit/b044999

I'm definitely okay with moving it.

dawehner’s picture

Status: Needs review » Fixed

Committed to the 8.x-plugins branch, as it is much easier not to have to tackle with the merge.

Automatically closed -- issue fixed for 2 weeks with no activity.