You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure how selecting a specific option is supposed to work, i tired selecting the Edit option, although the above code just makes the function alert for both options. How do i make it so the function only happens for a specific option such as "Edit"
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
<ModalDropdown options={['Edit', 'Delete']}
onSelect={(idx, index) => this._dropdown_6_onSelect(0, "Edit")}
_dropdown_6_onSelect(idx, value) {
alert("Edit");
}
Not sure how selecting a specific option is supposed to work, i tired selecting the Edit option, although the above code just makes the function alert for both options. How do i make it so the function only happens for a specific option such as "Edit"
The text was updated successfully, but these errors were encountered: