Hi,

Never thought about it but...
There are field types as Integer and List (integer) which generate different data types. It is quite strange, that List (integer) values are not integers even if they are 1|1, 2|2, 3|3, but should be so. Seems like bug to me.

Comments

PlayfulWolf’s picture

Ok, this is not a bug if there is a way in Drupal ecosystem to make a field which is integer and can be selected through select box, but there is no such way.

PlayfulWolf’s picture

Strange that no one else need this trivial functionality: to have integers in select field

Version: 7.21 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.