Closed tofuwarrior closed 10 years ago
It looks like empty_name
shouldn't be there, it just overrides empty_label
, but according to docs, it should be just empty_label
:
empty_label
: The label of the empty form. Defaults to 'new' + the relation name.
@tofuwarrior would you like to get rid of empty_name
?
Basically by removing lines: 554, 569, 675 and renaming remaining empty_name
to empty_label
.
Let's just hope nobody runs into backward compatibility issues, fixed in: #223
Thanks for update and fix details. Guess people can easily track down issues now it is documented if there are backwards compatibility problems.
Paul
On 22 Jul 2014, at 12:33, rozwell notifications@github.com wrote:
It looks like empty_name shouldn't be there, it just overrides empty_label, but according to docs, it should be empty_label:
empty_label: The label of the empty form. Defaults to 'new' + the relation name. @tofuwarrior would you like to get rid of empty_name? Basically by removing lines: 554, 569, 675 and renaming remaining empty_name to empty_label.
— Reply to this email directly or view it on GitHub.
set label was using empty_name not empty_label option and so empty_label option inneffective when using ->embedRelation Edited line 675.