timezone
timezone copied to clipboard
Default to exisitng value
Using Laravel and wondering how you default to an existing db value on the edit blade.
Can you clarify what you are trying to ask?
If the user hasn't selected a value (thus you don't have a timezone set for that user on the DB), you can just set $selected
to whatever you want the default to be.
Seems it doesn't like Input::old('timezone')
, which shows the db version or the recently input one. I have found away around.