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

Define node filters component to be re-usable #1156

Merged
merged 4 commits into from
Sep 28, 2023

Conversation

Mahmoud-Emad
Copy link
Contributor

@Mahmoud-Emad Mahmoud-Emad commented Sep 27, 2023

Description

Define node filter component to be reusable

Example of usage

<template>
  <node-filters v-model="filterInputs" v-model:valid="isValidForm" @update:model-value="InputFiltersReset" />
</template>
<script lang="ts">
import { inputsInitializer } from "@/utils/filter_nodes";
export default {
  setup() {
    const filterInputs = ref<FilterInputs>(inputsInitializer);

    const InputFiltersReset = (nFltrNptsVal: FilterInputs) => {
      filterInputs.value = nFltrNptsVal;
    };
  }
</script>

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@Mahmoud-Emad Mahmoud-Emad changed the base branch from development to development_313 September 27, 2023 08:26
@Mahmoud-Emad Mahmoud-Emad marked this pull request as draft September 27, 2023 08:43
@Mahmoud-Emad Mahmoud-Emad self-assigned this Sep 27, 2023
@Mahmoud-Emad Mahmoud-Emad added this to the 2.2.0 milestone Sep 27, 2023
@Mahmoud-Emad Mahmoud-Emad marked this pull request as ready for review September 27, 2023 15:27
@Mahmoud-Emad Mahmoud-Emad merged commit b6c9a81 into development_313 Sep 28, 2023
@Mahmoud-Emad Mahmoud-Emad deleted the development_313_node_filters branch September 28, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants