Skip to content

Multiselect support, styles independency of project, multifilter support #22

New issue

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

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

Already on GitHub? # to your account

Draft
wants to merge 44 commits into
base: master
Choose a base branch
from

Conversation

jagjerez
Copy link

Hi, it is my firts contributed in this project, I am use your project for my job and I contribuyed with us. tranks my number es +34611376019 and my email is jagjerez2015@gmail.com for if your have any cuestion, my english speak is bad.

emit("input",_selectedList.value)
}
const closeItem = ($item:FilterDataList) => {
//console.log($event.target.checked);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this needs to be removed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the console.log?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

const _list = computed(()=>props.list);
const _selectedList = ref([] as FilterDataList[])
const _enabled = computed(()=>props.enabled || false);
//const _value = computed(()=>props.value);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comentary? or the list??

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah the commentary

CloseIcon,
},
props: {
format: { type: String,required: false, default:"" },

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page needs to be reformatted eg: space is missing after: type: String

//console.log($event.target.checked);
const item = _list.value.find(d=>d.code === $item.code);
const indexElementSelected = _selectedList.value.findIndex(d=>d.code === $item.code);
if(item){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we reduce the complexity of these conditions?

}
},
})
</script>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New empty line at the end of file is highly appreciated

@jagjerez
Copy link
Author

help me improve this code, it is perfect to improve the tool

@puncoz puncoz self-assigned this Mar 21, 2022
@puncoz puncoz marked this pull request as draft March 21, 2022 08:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants