Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Tags field fails in show mode #36

Closed
tacone opened this issue Jul 6, 2014 · 2 comments
Closed

Tags field fails in show mode #36

tacone opened this issue Jul 6, 2014 · 2 comments

Comments

@tacone
Copy link
Collaborator

tacone commented Jul 6, 2014

Works fine except in the show view, where it trigger the following error:

Undefined property: Zofe\Rapyd\DataForm\Field\Tags::$description 
File: /var/www/g2.loc/vendor/zofe/rapyd/src/Zofe/Rapyd/DataForm/Field/Tags.php
Line: 164

If I define a protected $description = ''; inside the class declaration it doesn't error anymore, but still displays empty.

@zofe
Copy link
Owner

zofe commented Jul 7, 2014

should be fixed now

@zofe
Copy link
Owner

zofe commented Jul 7, 2014

@zofe zofe closed this as completed Jul 7, 2014
zhwei added a commit to zhwei/rapyd-laravel that referenced this issue May 3, 2016
* remove by default label on render() if orientation is inline

* method compact() for forms: without label even in horizontal forms

* fix file & image upload when is not a db-field

* support for file() closure on file field

* fix auto field on update

* autocomplete small fixes: default options color, predent default on [enter] without selection

* datetime, assuming that value is stored as full iso timestamp including seconds  Y-m-d H:i:s, but let user change it if needed, todo: move default date locale/i18n in config or lang file

* hasRel scope fix: ignore empty value, datatime field: default timestamp include seconds

* filter readme

* blade raw html content support for fields

* map field

* map field

* DataGrid notifies when empty

When the DataGrid has no records to show, it displays the
`rapyd::rapyd.no_records` message in a row of the DataGrid which spans
all table columns.

* lang-it for no_records

* readonly mode should update field only if a default value is passed, should close zofe#204

* fix and default configurations for date/datetime

* fix

* add the DataTree widget to Rapyd

* fix composer

* edit datatree missed demo part

* fix style

* fix demo code for datatree

* Fix rendering in show status

When rendering in the show status, if the labels span multiple lines,
the formatting breaks. Adding the clearfix to the fieldgroup ensures
that each row of the form is correctly rendered.

* explain the datatree in the readme

* don't crash when saving empty trees

* Fix for not to include the (empty) toolbar html when not displaying a label or buttons.

* add autosave and onchange handler, comment mutators, remove cruft

* fix

* fix spacing

* fix

* fix map

* fix

* close zofe#261

* branch 2.2 form 5.2

* 5.2 fixes

* readme

* corrected russian translation

* fix zofe#265, use Collective\Html instead Illuminate\Html

* switch to laravel collective

* improve chinese translate

* Bugfix for readme.md

* rollback a fix on field autupdate for an autocomplete problem on relation.field

* fix belongsTo relation on autocomplete

* Update Date.php

* fix container should not overwrite fields

* Bug into this file

You can't use iluminate form in laravel 5.2

* Classes on show mode

Class is not reconigzed in show mode, i fixed it

* dutch translation files

Added first version of dutch translartions

* Bestand seems a weird translation in app

Bestand seems a weird translation in app, i suppose record is better
even though it’s english

* support for default description, needed for autocomplete fields, in updateValue(value, description) context

* fix

* improve chinese translate for v2.2.x

* readme csv customizations

* adding a callback gateway to selected event on autocomplete field

* semplify checkbox field ouput

* Add no_records key message to the PT language

* Map field: set map, marker and update func in the DOM element data, for easier manipulation from the outside

* Fix CSV \r on Macs

Excel for Mac is pretty stupid, and will break a cell containing \r, such as user input typed on a
old Mac.
On the other hand, PHP will not deal with the issue for use, see for instance:
http://stackoverflow.com/questions/12498337/php-preg-replace-replacing-line-break
We need to normalize \r and \r\n into \n, otherwise the CSV will break on Macs

* fix bouble build

* readme

* fix 0000-00-00 editing

* Added star in required not-inline fields too

* 修一堆自动补全

* Number rule change to numberic

* Update DataTree.php

Fix for DataTree not displaying altogether. Fixes zofe#320
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants