Update Go item creation in documentation to use URL field type for website
Opened this issue · 0 comments
libutcher commented
Current Behavior
In the Go example file, the example for creating a new item includes a web address saved in a text field type.
Here's the relevant bit of code:
{
ID: "uniqueId",
Title: "Web address",
Value: "1password.com",
FieldType: onepassword.ItemFieldTypeText,
SectionID: §ionID,
},
Desired Behavior
We should update the item creation example to instead save the web address in a URL field type.
Benefits & Value
If the web address is added in a URL field type, it will display correctly in the 1Password app.
Additional information
No response