-
Notifications
You must be signed in to change notification settings - Fork 93
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
Allow to toggle editable title by click #1288
Conversation
0c6c5b6
to
2e07637
Compare
0221864
to
1155a8b
Compare
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.
Nice addition!
See comments 😉
b86ec97
to
07b7721
Compare
d41290e
to
2a1aa31
Compare
aa8d0e7
to
5558c61
Compare
Shall we also edit the editable title example to use |
yes so we can have both please :) |
5558c61
to
871d64a
Compare
I added an editable title after click example. |
I'm an idiiot, I thought this pr was already in, so this is why I edited my other pr #1303 ... 🙈 |
188da04
to
4124540
Compare
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
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
4124540
to
6990476
Compare
@click.self="editTitle($event)" /> | ||
<template v-if="titleEditable"> | ||
<form | ||
v-click-outside="() => onSubmitTitle()" |
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.
@raimund-schluessler I just noticed this, we do not forward any event here. 🙈
Any reason you did not just do that?
v-click-outside="() => onSubmitTitle()" | |
v-click-outside="onSubmitTitle" |
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.
No, I probably just overlooked it.
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.
All good, thanks :)
This PR allows to show the title input field by clicking on the title. Also it makes sure that the title input is rendered in the same style as the title itself:
Partially implements #1090.