Custom input element for matrix2 data type.