Thursday 28 June 2012 3:28:23 pm
I wanted a default-less integer attribute. So I left the default value box empty. However, I also wanted to define a minimum value for the same integer attribute. So I wrote 0 in the min value box.
Result? 0 as default value, leaving the has_content property useless for if-tests in my templates. Could you please not use the min value as a fallback default value?
On a sidenote, you should also take advantage of existing HTML5 input types – in this case, number.
No reply yet!
You must be logged in to post messages in this topic!