Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.24.00
-
None
Description
When a parameters info parameter returns a number (long, int, or short) or a boolean, the component properties box in the template composer still render a normal textfield. In CMS 7.6, it used to limit the input to numbers or render a checkbox, respectively.
Steps to reproduce:
1. log in to the GoGreen CMS as admin
2. navigate to the channel manager
3. open the channel 'English Website'
4. click 'Edit Template'
5. click on the 'latest jobs' component on the homepage (shows the component properties of 'latestjobs')
6. change the property 'Limit' to 'foo'
7. click 'Save'
Expected behavior: the user cannot enter and/or save the value 'foo', as it is not a valid number
Actual behavior: the user can enter the value 'foo'. Saving this value causes the 'latestjobs' component to disappear.