OfficeDev / office-ui-fabric-js

JavaScript components for building experiences for Office and Office 365.
http://dev.office.com/fabric
Other
368 stars 114 forks source link

How to capture event object on onChanged event #361

Closed ymihir closed 6 years ago

ymihir commented 6 years ago

I am creating a row with few cells. I am giving option to user to enter more rows if they want. When value get changed, I want to store those values in state object. I am using Office UI Fabric TextField control. This is having onChanged event, but this is capturing only the value of the textbox. But I want to capture the event or simply, I want to get the data-id attribute of it's parent element which is a row. I am implementing this in SharePoint Spfx with React framework. addexpnserow

mikewheaton commented 6 years ago

Sorry for the confusion here, but the project you're looking for is Fabric React. If you open an issue over there someone should be able to help.

ymihir commented 6 years ago

Ok Thanks.