You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you need to create a custom class in php, set attributes field disableMobile, than create custom controller on JS and view. Will change for you controller name in view all data.
`
class DateRangeCustom extends Field implements ComplexFieldConcern
{
/**
* @var string
*/
protected $view = 'fields.dataRange';
protected $attributes = [
'disableMobile' => 'true'
];
/**
* Attributes available for a particular tag.
*
* @var array
*/
protected $inlineAttributes = [
'form',
'name',
];
}
`
and than in your view in div add data attribute
`<div class="row"
data-controller="datetimeCustom"
data-datetimeCustom-disable-mobile="{{$disableMobile}}"
data-datetimeCustom-allow-input="true"
data-datetimeCustom-range="#end_{{ \Illuminate\Support\Str::slug($attributes['name']) }}"
Describe the bug
I can't select the time period when using DateRange on my phone but on my PC it works fine
https://orchid.software/en/docs/field/#daterange
The text was updated successfully, but these errors were encountered: