Comments (10)
I had switcher from Umbraco.MultiNodeTreePicker
to Umbraco.MultiNodeTreePicker2
, but I also needed to re-select the items and recycle the application pool.
from leblender.
Line 49 & 50 in the below file should be removed
Source should never be returned, it should always be Object that is returned
from leblender.
It would be awesome if you submit a PR for that @Jeavon
I also think it would be great to have this overload method as in Umbraco core 👍
#81
from leblender.
@soreng could you have a look at this one please? 😁
I think you should be able to reproduce if you add a LeBlender property using Multi Url Picker.
rasmusjp/umbraco-multi-url-picker#63
E.g. create two datatype instances of Multi Url Picker:
- Single Url Picker (max items = 1).
- Multi Url Picker (max items = empty).
Single Url Picker returns Link
, so Model.Items.First().GetValue<Link>("link")
should work.
Multi Url Picker returns IEnumerable<Link>
, so Model.Items.First().GetValue<IEnumerable<Link>>("links")
should work.
from leblender.
hi @bjarnef I can have a look at it later, but I can't really say when it will be :-/
I will be looking into a few thing (maybe a v2) in the not so distant future
from leblender.
Okay, hopefully you get some time to look at this issue.
In a project I am working on, it works with Model.Items.First().GetValue<Link>("link")
which use multiple LeBlender items, but not when item a single LeBlender item (default if no min/max it set).
I have also had some issues when using MNTP for some menu items in a megamenu, where it sometimes returned IPublishedContent
and sometimes IEnumerable<IPublishedContent>
or just when casting Model.Items.First().GetValue<string>("link")
, where I had to add a bit of a hack to make it work 😁
Jeavon/Umbraco-Core-Property-Value-Converters#24 (comment)
from leblender.
@soreng have you tried LeBlender with ModelsBuilder and property value converters enabled.
I have often see then returned value not is they expected inside LeBlender, while it works correct when the properties are directly on document types. It happens for e.g. Multinode Tree Picker, RJP MultiUrlPicker and others.
from leblender.
hi @bjarnef
after reading the documentation, I can see the LeBlender impl. is wrong, as per @Jeavon's reply above.
this need a test and a fix :)
from leblender.
@soreng looking forward a fix for this since it has really bothered me now and then, where it was returning different than expected.
Hopefully in next release and both a release for Our and NuGet.
https://our.umbraco.com/projects/backoffice-extensions/leblender/
At the moment I think the latest NuGet version is broken, and doesn't contain some of the fixes which was merged to master branch before the release of the latest NuGet package.
from leblender.
Maybe a 1.10 is comming out sometime soon - who knows
Just need access to upload stuff to the page on our. Will see it I can get that.
from leblender.
Related Issues (20)
- Need to cache call to PluginManager.Current.ResolveTypes
- How to get value from Umbraco.DropDown.Flexible HOT 1
- Need a reliable way to detect whether a node has been saved within a leblender partial
- Preview doesn't work if requesting node by guid instead of id
- Changes to grid.editors.config.js file can be lost in Umbraco Cloud HOT 2
- Umbraco V8 Support HOT 49
- Regarding LeBlender HOT 1
- Umbraco Security Hardening With Leblender HOT 2
- Partial grid editor being returned from Umbraco backoffice HOT 1
- Custom properties broken? -- 1.0.9.2 (from NuGet) on Umbraco 7.7.7 HOT 4
- When a new property is added to a LeBlender grid editor, it breaks editing HOT 6
- No input fields visible after fresh install on Umbraco 7.9.2 HOT 3
- LeBlender injects Bootstrap Styles into Backoffice HOT 3
- Caching shows first editors content in all other editors place HOT 6
- Links in admin tree is not working after few clicks with leblender 1.0.8.4 HOT 1
- LeBlender Editor top-level property on whole set of items HOT 2
- Cache by member HOT 7
- Confusing property editors HOT 5
- Automate deployment
- Cell / Row config HOT 1
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 leblender.