Problem/Motivation
Slider item render issue when no value added in slider item in theme settings it print empty slider component.
Steps to reproduce
1 Install the theme and set as default.
2 Go to the theme settings.
3 Update select number of slider display count into 3 save config.
4 Go to the home page
5 Go to 3 slide in slider component.
you will find the empty slider issue.
Proposed resolution
Slide should not visible in FE when value not added
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| slider_issue.PNG | 33.58 KB | gautam_105@ |
Issue fork pets_clinic-3439351
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
yogesh.k commentedComment #4
yogesh.k commented@Gautam_105@ , i have fixed this issue and created MR for the same please review and test my MR.
Comment #5
gautam_105@ commented@yogesh.k i have tested MR and it's working fine for me. So moving in RTBC+ , @ravi kant Please close this issue.
Comment #7
ravi kant commentedThank you @yogesh.k @Gautam_105@
I just made one change about alt tag on image. I am adding title as alt text.
@yogesh.k - can we add alt attribute mandatory during upload image.
Comment #8
yogesh.k commentedComment #9
yogesh.k commented@ravi-kant for the alt tag of the slider we are creating title field required, please review.
Comment #10
ravi kant commentedThank you @yogesh.k
Changes are updating successfully.
Comment #12
ravi kant commented