Allow null attribute value in Model.set()
See gh-27115
This commit is contained in:
committed by
Stephane Nicoll
parent
7598bca799
commit
3470240ef0
@@ -26,6 +26,6 @@ package org.springframework.ui
|
||||
* @author Mario Arias
|
||||
* @since 5.0
|
||||
*/
|
||||
operator fun Model.set(attributeName: String, attributeValue: Any) {
|
||||
operator fun Model.set(attributeName: String, attributeValue: Any?) {
|
||||
this.addAttribute(attributeName, attributeValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user