Improve method name
This commit is contained in:
parent
e7c9c799bb
commit
75c1e7658f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
return $this->cachedValues->get($field->db_column);
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<input
|
<input
|
||||||
class="form-control"
|
class="form-control"
|
||||||
type="text"
|
type="text"
|
||||||
value="{{ $this->getValueForField($field) }}"
|
value="{{ $this->getFieldValue($field) }}"
|
||||||
id="default-value{{ $field->id }}"
|
id="default-value{{ $field->id }}"
|
||||||
name="default_values[{{ $field->id }}]"
|
name="default_values[{{ $field->id }}]"
|
||||||
x-on:blur="(e) => $wire.$call(
|
x-on:blur="(e) => $wire.$call(
|
||||||
|
|
Loading…
Add table
Reference in a new issue