We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to add a submit button at the end of the form.
public function fields(): array { return [ // other fields ... Button::make($this::updateButtonLabel()) ->class('btn btn-primary')->method('update') ]; }
The button is being added and seems to be working.
But the problem is, the button value is being overwritten and becoming model[Update ResourceName].
model[Update ResourceName]
How can I avoid this and keep the button name as is? Can anyone help?
The text was updated successfully, but these errors were encountered:
You can add a language string like:
Update ResourceName: new string
Update ResourceName
new string
for example:
"Update ResourceName": "Update record"
Sorry, something went wrong.
No branches or pull requests
I am trying to add a submit button at the end of the form.
The button is being added and seems to be working.
But the problem is, the button value is being overwritten and becoming
model[Update ResourceName]
.How can I avoid this and keep the button name as is? Can anyone help?
The text was updated successfully, but these errors were encountered: