Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

defaultDisplayOption not working #725

Open
RaphaelHofer opened this issue Jul 21, 2016 · 4 comments
Open

defaultDisplayOption not working #725

RaphaelHofer opened this issue Jul 21, 2016 · 4 comments
Labels

Comments

@RaphaelHofer
Copy link

Q A
Bug? yes
New Feature? no
Sulu Version 1.2.3
Browser Version Chrome 51.0.2704.106

Actual Behavior

The defaultDisplayOption is visible at the media_selection content type, but the view returns "top".

Expected Behavior

returning the right displayOption

Steps to Reproduce

Define a block with a media_selection and disable all displayOptions except left and right. Set the defaultDisplayOption to left or right.

Possible Solutions

Click one of the displayOptions before saving

@wachterjohannes
Copy link
Member

this option will be passed to the javascript component but wont be used there. we have to change the way we pass this option to the javascript component which uses this.options.dataDefaults to initialize data.

@wachterjohannes
Copy link
Member

@marcelmoosbrugger i think this would be a quite easy fix for 1.3 /cc @danrot

@mmsbrggr
Copy link

I'd suggest that we wait on fixing this, as Bernd planned a lot of new stuff for the media bundle.

@danrot
Copy link
Contributor

danrot commented Jul 26, 2016

@marcelmoosbrugger I don't think that the changes Bernd has planned will require us to hold back this change.

@danrot danrot added the Bug label Jul 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants