Skip to content

Commit

Permalink
Deploying to gh-pages from @ 014984c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Oct 11, 2024
1 parent b00bb87 commit e8939b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions en/docs/field/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,10 @@ <h2><a href='#daterange' id='daterange'>DateRange</a></h2>
-&gt;title('Opening between');
</code></pre>
<p>Default value / result is an array with keys of <code>start</code>, <code>end</code>.</p>
<pre><code class="language-php">DateRange::make('open')
-&gt;title('Opening between')
-&gt;value(['start' =&gt; now()-&gt;subDays(30), 'end' =&gt; now()]),
</code></pre>
<h2><a href='#timezone' id='timezone'>TimeZone</a></h2>
<p>The <code>TimeZone</code> field is a form element that allows the user to choose a time zone from a dropdown list. It is useful for selecting the time zone in which an event or action will take place.</p>
<pre><code class="language-php">use Orchid\Screen\Fields\TimeZone;
Expand Down

0 comments on commit e8939b8

Please sign in to comment.