Comments (5)
I wonder if anyone else has this issue.
from laravel-form-base-model.
Just upgraded bundle, and my dev environment has changed. XAMPP Windows (1.8.0-beta8):
Apache (2.4.2)
MySQL (5.5.25)
PHP (5.4.4)
Works when I don't set Favorite Foods, fails otherwise
from laravel-form-base-model.
I'll need to test with the newest xampp beta. I probably can't do it today. But, soon.
from laravel-form-base-model.
I'm having no issues in any testing situation. For now I'm going to close this issue.
from laravel-form-base-model.
Got this error too after upgrade to php 5.4, seems php versions over 5.3 are more restrictive with type hinting. Or maybe this is due to more restrictive settings in MAMP 2.2 (was using MAMP 2.0).
Problem is that "has" in laravel/input:23 assumes that the value is a key. My value was an array. Quick fix:
public static function has($key)
{
$val = static::get($key);
return $val && ((is_string($val) && strlen(trim($val))) || is_array($val));
//return trim((string) static::get($key)) !== '';
}
from laravel-form-base-model.
Related Issues (12)
- Method old() does not return a value when html input is having multi-dimension array. HOT 1
- Adding internationalised validation messages HOT 2
- Laravel 4 HOT 5
- Escaping, htmlentities, strip_tags before final submission
- get method nulls 0 value HOT 1
- update Lravel 5.1 multi-step form HOT 3
- Foods is Undefined. HOT 3
- Feature : Load from DB HOT 4
- Save_input does not work correctly HOT 5
- Need to add convenient place to register custom validators
- save_input() returns no errors. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-form-base-model.