Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display button #36

Open
EORIS-SUPPORT opened this issue Feb 17, 2023 · 2 comments
Open

Display button #36

EORIS-SUPPORT opened this issue Feb 17, 2023 · 2 comments

Comments

@EORIS-SUPPORT
Copy link

Hello,

Plugin version : 1.6.1
GLPI version : 10.0.6

The display of the yes/no buttons has a problem when selecting a choice.

Default display :

image

When selecting a value, it generates as a display :

image

No console error raised.

Sincerely,

@Unknoweb
Copy link

Tha same

GLPI 10.0.7 Plugin Latest

enquétes

@Unknoweb
Copy link

Unknoweb commented Apr 20, 2023

@EORIS-SUPPORT

Hi, I found a little solution for resolved the issue. waiting for a real solution

Go to plugins\satisfaction\inc and open surveyanswer.class.php

Go to ligne 275 and add the echo line

case PluginSatisfactionSurveyQuestion::YESNO :
            echo "<span class='select2 select2-container select2-container--default' dir='ltr' data-select2-id='8' style='width: 65px;'>";
            Dropdown::showYesNo("answer[$questions_id]", $value);
            break;

If you want a little margin left for question replace this echo

Same file line 160

echo "<div class='row flex-rowform-field row col-12 col-sm-6 mb-2' style='margin-left: 5px;'>";

best regard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants