Merge pull request 'Issue solved in quality validation resource page for automatic submit' (#513) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #513
This commit was merged in pull request #513.
This commit is contained in:
@@ -584,13 +584,18 @@ class QualityValidationResource extends Resource
|
||||
})
|
||||
->extraAttributes(fn ($get) => [
|
||||
'class' => $get('validationError') ? 'border-red-500' : '',
|
||||
'id' => 'item_id',
|
||||
'onkeydown' => "if (event.key === 'Enter') { event.preventDefault(); event.stopPropagation(); return false; }",
|
||||
])
|
||||
->extraAttributes([
|
||||
'onkeydown' => "if (event.key === 'Enter') { event.preventDefault(); return false; }",
|
||||
])
|
||||
->extraAttributes([
|
||||
'id' => 'item_id'
|
||||
])
|
||||
// ->extraAttributes(fn ($get) => [
|
||||
// 'class' => $get('validationError') ? 'border-red-500' : '',
|
||||
// ])
|
||||
// ->extraAttributes([
|
||||
// 'onkeydown' => "if (event.key == 'Enter') { event.preventDefault(); return false; }",
|
||||
// ])
|
||||
// ->extraAttributes([
|
||||
// 'id' => 'item_id'
|
||||
// ])
|
||||
->hint(fn ($get) => $get('validationError') ? $get('validationError') : null)
|
||||
->hintColor('danger'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user