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
Fix/default edit mode dialog #487
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks, otherwise 👍
{content} | ||
</EditItemPopOver> | ||
<DefaultDialog | ||
isOpen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is isOpen
this really needed? IMO if the dialog shouldn't be open, it should not be rendered at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it is needed, but I agree. Lets do that in another branch since it potentially requires a lot of changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed!
const actionIndex = event.currentTarget.getAttribute('data-action-index') | ||
this.props.onAction(this.props.actions[actionIndex]) | ||
} | ||
// handleActionClick = event => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these comments be removed?
d8ead95
to
9acd4a5
Compare
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
* [components] Cleaning up default dialog * [form-builder] Using Default Dialog for editing array content * [pr] Request change from bjoerge
No description provided.