Allow float value for file max size

This commit is contained in:
minstel
2017-07-22 13:45:51 +07:00
parent 4f77865657
commit ce2df76a0c
2 changed files with 2 additions and 2 deletions

View File

@@ -539,7 +539,7 @@ $('.inputmask').inputmask({
</tr>
<tr>
<td>maxSize</td>
<td>int</td>
<td>float</td>
<td>Use this option if you want to limit file upload size. It's in <code>MB</code> and should be set for <code>.fileinput</code> element. For ex. <code>data-max-size="3"</code> allows upload only for files with size <= 3MB. If several files are selected, and only one of them is greater then this option value, all files will be discarded. Event <code>max_size.bs.fileinput</code> is triggered on discard.</td>
</tr>
</tbody>