Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite81a80c

Browse files
committed
Merge branch '4.0'
* 4.0: Bump v4.35.1 🚀 Add missing upload field options as per doc.https://editor.datatables.net/reference/field/upload#Options
2 parents7d50607 +6c902a8 commite81a80c

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
##CHANGELOG
1010

11+
###v4.35.1 - 11-03-2020
12+
13+
- Add missing upload field options as per doc.[#152]
14+
1115
###v4.35.0 - 11-03-2020
1216

1317
- Add formatted column factory.[#147]
@@ -709,6 +713,7 @@ To `created_at` with title `Created At`
709713
[#144]:https://github.com/yajra/laravel-datatables-html/pull/144
710714
[#137]:https://github.com/yajra/laravel-datatables-html/pull/137
711715
[#147]:https://github.com/yajra/laravel-datatables-html/pull/147
716+
[#152]:https://github.com/yajra/laravel-datatables-html/pull/152
712717

713718
[#134]:https://github.com/yajra/laravel-datatables-html/issues/134
714719
[#3]:https://github.com/yajra/laravel-datatables-html/issues/3

‎src/Html/Editor/Fields/File.php‎

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,94 @@ public static function make($name, $label = '')
3131
return$field->displayFile()->clearText()->noImageText();
3232
}
3333

34+
/**
35+
* @param string $value
36+
* @return $this
37+
*/
38+
publicfunctionajax($value)
39+
{
40+
$this->attributes['ajax'] =$value;
41+
42+
return$this;
43+
}
44+
45+
/**
46+
* @param string $value
47+
* @return $this
48+
*/
49+
publicfunctionajaxData($value)
50+
{
51+
$this->attributes['ajaxData'] =$value;
52+
53+
return$this;
54+
}
55+
56+
/**
57+
* @param bool $value
58+
* @return $this
59+
*/
60+
publicfunctiondragDrop($value =true)
61+
{
62+
$this->attributes['dragDrop'] =$value;
63+
64+
return$this;
65+
}
66+
67+
/**
68+
* @param string $value
69+
* @return $this
70+
*/
71+
publicfunctiondragDropText($value)
72+
{
73+
$this->attributes['dragDropText'] =$value;
74+
75+
return$this;
76+
}
77+
78+
/**
79+
* @param string $value
80+
* @return $this
81+
*/
82+
publicfunctionfileReadText($value)
83+
{
84+
$this->attributes['fileReadText'] =$value;
85+
86+
return$this;
87+
}
88+
89+
/**
90+
* @param string $value
91+
* @return $this
92+
*/
93+
publicfunctionnoFileText($value)
94+
{
95+
$this->attributes['noFileText'] =$value;
96+
97+
return$this;
98+
}
99+
100+
/**
101+
* @param string $value
102+
* @return $this
103+
*/
104+
publicfunctionprocessingText($value)
105+
{
106+
$this->attributes['processingText'] =$value;
107+
108+
return$this;
109+
}
110+
111+
/**
112+
* @param string $value
113+
* @return $this
114+
*/
115+
publicfunctionuploadText($value)
116+
{
117+
$this->attributes['uploadText'] =$value;
118+
119+
return$this;
120+
}
121+
34122
/**
35123
* Set editor instance for file upload.
36124
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp