mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Improve method name
This commit is contained in:
parent
e7c9c799bb
commit
75c1e7658f
|
@ -32,7 +32,7 @@ class CustomFieldSetDefaultValuesForModel extends Component
|
|||
});
|
||||
}
|
||||
|
||||
public function getValueForField(CustomField $field)
|
||||
public function getFieldValue(CustomField $field)
|
||||
{
|
||||
return $this->cachedValues->get($field->db_column);
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<input
|
||||
class="form-control"
|
||||
type="text"
|
||||
value="{{ $this->getValueForField($field) }}"
|
||||
value="{{ $this->getFieldValue($field) }}"
|
||||
id="default-value{{ $field->id }}"
|
||||
name="default_values[{{ $field->id }}]"
|
||||
x-on:blur="(e) => $wire.$call(
|
||||
|
|
Loading…
Reference in a new issue