-
Notifications
You must be signed in to change notification settings - Fork 178
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
FN field behaviour: first and last name #270
Comments
I would like to take this bug up as a part of beginner level bug for Rails Girls Summer of Code 2018 |
@rutujasurve94 please do! :) |
Hi! @skjnldsv @jancborchardt I tried to look up the file in the contacts repo where "New Contact" is put as the default value for the FN field. But, a grep search didn't return any file. The fn field has been defined in the dav.js and contact.js file. Could you hint as to which file we could look up for finding this default behaviour so that we can convert this string to NULL to fix this issue? |
You can't really set the FN field to null by default since a FN property is required by the vcard rfc :) Nonetheless, everything happens here: https://github.com/nextcloud/contacts/blob/master/js/services/contact_service.js#L226 |
I have raised a pull request here: #488 |
When you try to add a new contact and you want to edit the name field there it's written by default "New contact" and you need to delete it in order to write the name of your contact.
Expected behaviour
Name field should be empty, in order to write the name of your contact.
Actual behaviour
At the field by default it is written "new contact" and to fill it you need to delete what is previously written there.
Server configuration
Contacts version: 1.5.4
The text was updated successfully, but these errors were encountered: