how does cropData get set as value?