hash control for form posting
This commit is contained in:
parent
73d0e97c3d
commit
ba0e24ae94
4
public/css/app.css
vendored
4
public/css/app.css
vendored
@ -50034,6 +50034,10 @@ body{
|
|||||||
width: 20rem;
|
width: 20rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lg\:w-9{
|
||||||
|
width: 2.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.lg\:w-8\/12{
|
.lg\:w-8\/12{
|
||||||
width: 66.666667%;
|
width: 66.666667%;
|
||||||
}
|
}
|
||||||
|
4
resources/assets/js/plugins/form.js
vendored
4
resources/assets/js/plugins/form.js
vendored
@ -479,6 +479,10 @@ export default class Form {
|
|||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
||||||
window.location.href = response.data.redirect;
|
window.location.href = response.data.redirect;
|
||||||
|
|
||||||
|
if (window.location.hash !== undefined) {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.response = response.data;
|
this.response = response.data;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@if ($trigger->attributes->has('override') && in_array('class', explode(',', $trigger->attributes->get('override'))))
|
@if ($trigger->attributes->has('override') && in_array('class', explode(',', $trigger->attributes->get('override'))))
|
||||||
class="{{ $trigger->attributes->get('class') }}"
|
class="{{ $trigger->attributes->get('class') }}"
|
||||||
@else
|
@else
|
||||||
class="w-9 h-9 flex items-center justify-center px-2 py-2 bg-gray-100 hover:bg-gray-200 rounded-xl text-purple text-sm font-medium leading-6"
|
class="w-full lg:w-9 h-9 flex items-center justify-center px-2 py-2 bg-gray-100 hover:bg-gray-200 rounded-xl text-purple text-sm font-medium leading-6"
|
||||||
@endif
|
@endif
|
||||||
data-dropdown-toggle="{{ $id }}"
|
data-dropdown-toggle="{{ $id }}"
|
||||||
{{ $trigger->attributes }}
|
{{ $trigger->attributes }}
|
||||||
|
@ -4,5 +4,6 @@ lg:pl-24
|
|||||||
lg:my-12
|
lg:my-12
|
||||||
lg:mt-4
|
lg:mt-4
|
||||||
lg:pl-6
|
lg:pl-6
|
||||||
|
lg:w-9
|
||||||
ltr:-right-1.5
|
ltr:-right-1.5
|
||||||
rtl:-left-1.5
|
rtl:-left-1.5
|
Loading…
x
Reference in New Issue
Block a user