I’m new to Vue.js and trying to bind option data from the API response. I have written axios call from the mounted() and assigned companies form the response but I’m getting defined error as per below. I have assigned the API response data to the company but why it’s not working so can someo…
Category: Questions
How to change screen reader focus to vuetify modal once it opens?
I’m implementing adjustments for accessibility on a project and I need to make it possible to navigate through the page using only the keyboard. I am experiencing a problem with modals using the vuetify’s v-dialog component. When I try to change the focus of the page to the content within the moda…
Module not found: Can’t resolve ‘@mui/icons-material/FileDownload’
I have installed both @material-ui/core and @material-ui/icons. I am trying to import “FileDownloadIcon” from Material icons. Installing “@material-ui/core”: Installing “@material-ui/icons”: This is the way I am trying to import “FileDownloadIcon”: But it’…
Vue Remove loop rendered component from DOM
I have image upload form for images to my website. When the user clicks on input images, he can choose multiple images. After selecting images, images are previewed and the user can select some meta info(Category, Type) about the image. upload.vue And if all image falls in one category than a user can select …
Updating the checkbox value based on the backend reponse using react
I’m trying to do an edit function, Where I’ll get the data from the backend. So if the value of dependents is ‘1,2’ then box the checkbox should be selected. I should be able to unselect the checkbox and send the value again if needed. In the below one, When we click on the add for the…
Extract the desired numbers from the array in the object
I have an object with array values , and I want to extract my desired numbers from that with this condition : First , I should check that if numbers in array are ascending or descending, so if they were one of them, return them , but if they were not check this: If the numbers in the array are
How add the sizes of the slices in the pie chart (at the top) in Chart.js?
I am starting to learn the chart.js library. I drew a pie chart (like “pie”). When you hover over the slices of the diagram, a number appears in the pop-up window that sets the size of the sector. How can you make this number still displayed at the top, where the sectors are listed (I marked this …
this.$refs.upload.submit(); not returning response Element-UI
I’m using element-ui and I’m uploading a file with: How can I get the reponse from this.$refs.upload.submit();? I already tried: I know the submit() needs some sort of promise. I just don’t know what to change, I just want to get the error messages. Answer I am not to familiar with element-u…
How to change color of div that’s selected and others be same?
I have a dynamic array of divs representing numbered lists i.e. I have 2 classes, dot which is a gray color, active which is red. How can change the color of div to red which is clicked/selected and the rest be gray? Answer You use React, right? You could write a Component instead of your div that should cont…
I want to apply script to multiple subsheet in one Sheet
I followed youtube instruction and copied this script I want to apply this script to all subsheet in the file. so I tried to add more sheet name like or and they didn’ work. I don’t have any, even rudimentary knowledge to this area, could you teach me how can I apply this script on whole subsheet,…