Closed (fixed)
Project:
Webform
Version:
8.x-5.0-beta7
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2017 at 18:23 UTC
Updated:
21 Mar 2017 at 01:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commentedI can't reproduce this issue locally using the latest dev release.
Below are the elements that I am using...
Comment #3
imen ch commentedthe module i installed is webform Version: 8.x-5.0-beta7
the problem is when i added other type buttons , for the first button i have no problem
here is the screen without the second type button
Comment #4
imen ch commentedI tested on webform version 8.x-5.0-beta4, there are no problems for this version.
Comment #5
jrockowitz commented@imen ch
I can't duplicate the issue.
Below is the code I am using.
Please upload some example code that fully documents the exact the issue.
Comment #6
imen ch commentedi have no problem with the first element type 'button', but when i add an other element type button, i have problem on display of ther elements!
PS:
candidature5.png screen with one element type button,
candidature6.png screeen with 2 element type button
I haven't this problem with Webform version : 8.x-5.0-beta4
code for the first element type button:
webform_buttons:
'#type': buttons
'#title': 'Civilité :'
'#options':
Mme: Madame
Mr: Monsieur
'#required': true
code for the first element type button:
dispo:
'#type': buttons
'#title': dispo
'#options':
un: un
deux: deux
trois: trois
when i changed the code : webform_buttons: instead of dispo:, it becomes webform_buttons: null
Comment #7
jrockowitz commentedYou have make sure I can duplicate the issue so that I can fix it.
Please wrap your example in code tags so that the indentation is maintained.
Comment #9
jrockowitz commentedI was finally able to duplicate the problem by going to the Element Examples (/form/example-elements).
Please test the attached patch.
Comment #11
jrockowitz commented