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
Hi,
I use this package and set the field option disableValidation() to remove the field from the mandatory field list.
But now, in the list and details page the value show me "null" instead of "----".
Can you please guide me how to set the value to "-----" instead of null
The text was updated successfully, but these errors were encountered:
@dniccum @batFormat
can you please guide me for the above.
Thanks
Sorry, something went wrong.
A new bug fix was just pushed to fix the field's issue where it was actively ignoring the ->nullable() method.
->nullable()
Now you can leverage the ->nullValues method to set the null value, see here.
->nullValues
I am having this issue too. This was my attempt:
PhoneNumber::make('Mobile') ->sortable() ->format('#### ### ###') ->country('AU') ->linkOnIndex() ->linkOnDetail() ->nullable() ->nullValues([null, 'null']) ->rules('max:12'),
But on index and list it still looks like this:
No branches or pull requests
Hi,
I use this package and set the field option disableValidation() to remove the field from the mandatory field list.
But now, in the list and details page the value show me "null" instead of "----".
Can you please guide me how to set the value to "-----" instead of null
![screenshot-seasons sr-2018 11 21-16-20-46](https://user-images.githubusercontent.com/6308981/48836685-70a64180-eda9-11e8-863f-cc017d6c0ef6.png)
The text was updated successfully, but these errors were encountered: