object status extends MappedBoolean(this) {
override def displayName = "Status"
override def toString = if(this) "Enable" else "Disable"
override def defaultValue = true
}
I wanna there has a text label "Active" behind the checkbox to generate the HTML code like this:<input value="true" type="checkbox" name="F280400493864BO3SHX" checked="checked">Active</input>
I've tried to override formElemAttrs, but not work.Are there other ways?