Skip to content

Commit

Permalink
Upgrade to v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kid1194 authored Aug 12, 2022
1 parent a701d39 commit f089c6f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ A small plugin for Frappe that adds the support of customizations to the attach

### Table of Contents
<ul>
<li><a href="#Requirements">Requirements</a></li>
<li><a href="#requirements">Requirements</a></li>
<li>
<a href="#Setup">Setup</a>
<a href="#setup">Setup</a>
<ul>
<li><a href="#install">Install</a></li>
<li><a href="#update">Update</a></li>
Expand All @@ -15,6 +15,7 @@ A small plugin for Frappe that adds the support of customizations to the attach
<li><a href="#usage">Usage</a></li>
<li><a href="#available-options">Available Options</a></li>
<li><a href="#supported-fields">Supported Fields</a></li>
<li><a href="#todo">ToDo</a></li>
<li><a href="#license">License</a></li>
</ul>

Expand Down Expand Up @@ -86,6 +87,7 @@ A small plugin for Frappe that adds the support of customizations to the attach
<td><code>allow_multiple</code></td>
<td>
<p>Allow multiple uploads.</p>
<p><i>(Not fully supported)</i></p>
<p><i>Default: <code>false</code></i></p>
</td>
</tr>
Expand All @@ -102,7 +104,7 @@ A small plugin for Frappe that adds the support of customizations to the attach
<td>
<p>Array of allowed file types (mimes) or extensions to upload.</p>
<p><i>Example: <code>["image/*", "video/*", ".pdf", ".doc"]</code></i></p>
<p><i>Default: <code>["image/*"]</code></i></p>
<p><i>Default: <code>null</code> or <code>["image/*"]</code></i></p>
</td>
</tr>
<tr>
Expand All @@ -117,7 +119,7 @@ A small plugin for Frappe that adds the support of customizations to the attach
<td><code>crop_image_aspect_ratio</code></td>
<td>
<p>Crop aspect ratio for images (Frappe >= v14.0.0).</p>
<p><i>Example: <code>1</code> or <code>16 / 9</code> or <code>4 / 3</code></i></p>
<p><i>Example: <code>1</code> or <code>16/9</code> or <code>4/3</code></i></p>
<p><i>Default: <code>1</code></i></p>
</td>
</tr>
Expand All @@ -131,5 +133,11 @@ A small plugin for Frappe that adds the support of customizations to the attach

---

### ToDo
- HTML display for multiple files upload in `Attach` control
- Display popover for multiple files upload in `Attach Image` control

---

### License
MIT

0 comments on commit f089c6f

Please sign in to comment.