-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FieldNameRenderer missing features and other expected behaviors #116
Comments
@AJIXuMuK can you take this one? |
Sorry, @estruyf. Lost the notification in email. Hi @ralftokada.
isNew: SPHelper.getRowItemValueByName(listItem, 'Created_x0020_Date.ifnew') === '1'
Let me know if the explanation makes sense of if you have any additional thoughts on that! |
@estruyf please, assign it to me. |
Hi @AJIXuMuK Thanks again for keeping up with this development |
Closing the issue as version |
Category
[x] Enhancement
[x] Bug
[ ] Question
Version
v1.7.0
Expected / Desired Behavior / Question
I would like the FileNameRender control get the next behavior
-DoubleClick is not customizabled -I would like to get the same behavior of a single click achieved in the 1.7.0 version where the default behavior is suppressed
-Share and Show Action menus are gone, desired behavior will be to leave them at it comes unless a customization is possible
-Circle next to the Icon is selected when the link is clicked, default un-selected behavior is desired
Observed Behavior
Explained above
Steps to Reproduce
Install the 1.7.0 version and customize the render sub in the *.tsx file as follow
@OverRide
public render(): React.ReactElement<{}> {
return (
<FieldNameRenderer
text={"mylink"}
isLink={true}
filePath={null}
isNew={false}
hasPreview={false}
onClick={() => this.button_click()}
/>
);
}
public button_click(): any {
window.open("MyUrlHandlerProtocol:" + window.location.protocol + "//"
return "MyUrlHandlerProtocol:" + window.location.protocol + "//"
+ window.location.hostname + this.props.listItem.getValueByName("FileRef");
}
}
Submission Guidelines
Thanks!
The text was updated successfully, but these errors were encountered: