Made placeholder respect textarea's.
This commit is contained in:
		| @@ -1029,7 +1029,7 @@ class IgniteTemplate { | |||||||
|      */ |      */ | ||||||
|     placeholder(value, converter = null) { |     placeholder(value, converter = null) { | ||||||
|         //If this is a input element, modify the attribute, otherwise add the placeholder class. |         //If this is a input element, modify the attribute, otherwise add the placeholder class. | ||||||
|         if (this.tagName == "input") { |         if (this.tagName == "input" || this.tagName == "textarea") { | ||||||
|             return this.attribute("placeholder", value, converter); |             return this.attribute("placeholder", value, converter); | ||||||
|         } else { |         } else { | ||||||
|             if (value instanceof IgniteProperty) { |             if (value instanceof IgniteProperty) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user