mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Allow float value for file max size
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user